Skip to content

utils/cobrautil/templates: print help and usage to stdout#777

Merged
mmatczuk merged 1 commit intomainfrom
hg/help_to_stdout
Apr 8, 2024
Merged

utils/cobrautil/templates: print help and usage to stdout#777
mmatczuk merged 1 commit intomainfrom
hg/help_to_stdout

Conversation

@Choraden
Copy link
Contributor

@Choraden Choraden commented Apr 5, 2024

Having --help text go to stderr makes it unusable with tools like grep or less.

According to GNU Coding Standards[1] the --help option should print on standard output.

[1] https://www.gnu.org/prep/standards/html_node/_002d_002dhelp.html

Having --help text go to stderr makes it unusable with tools like grep or less.

According to GNU Coding Standards[1] the --help option should print on standard output.

[1] https://www.gnu.org/prep/standards/html_node/_002d_002dhelp.html
@Choraden Choraden requested a review from mmatczuk April 5, 2024 12:05
@mmatczuk mmatczuk merged commit be30d92 into main Apr 8, 2024
@mmatczuk mmatczuk deleted the hg/help_to_stdout branch April 8, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants