Skip to content

Fix --help output not appearing through a pipe#1594

Merged
slipher merged 1 commit intoDaemonEngine:masterfrom
slipher:help-flush
Mar 13, 2025
Merged

Fix --help output not appearing through a pipe#1594
slipher merged 1 commit intoDaemonEngine:masterfrom
slipher:help-flush

Conversation

@slipher
Copy link
Copy Markdown
Member

@slipher slipher commented Mar 11, 2025

On *nix using a pipe makes the output fully buffered, as opposed to a TTY where the default is line buffering. We did a fast shutdown without flushing so the output could be lost.

Fixes #631.

On *nix using a pipe makes the output fully buffered, as opposed to a
TTY where the default is line buffering. We did a fast shutdown without
flushing so the output could be lost.

Fixes DaemonEngine#631.
Copy link
Copy Markdown
Member

@illwieckz illwieckz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much. It works.

LGTM.

@slipher slipher merged commit 4cfabd4 into DaemonEngine:master Mar 13, 2025
9 checks passed
@slipher slipher deleted the help-flush branch March 13, 2025 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

daemon --help only prints help in interactive terminals

2 participants