]> git.draconx.ca Git - gob-dx.git/commitdiff
Make --help output go to standard output.
authorNick Bowler <nbowler@draconx.ca>
Tue, 11 Feb 2020 01:33:54 +0000 (20:33 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 14 Feb 2020 05:27:12 +0000 (00:27 -0500)
A program's help text, when requested by the user, is not an error
message.  Kind of silly to direct it to the standard error stream.

Adjust the program so that help text goes to standard output, which
is consistent with the GNU coding standards.

For actual errors, print a simplified usage message to standard
error instead of the full help text because otherwise the actual
error message is going to scroll right off the screen.


No differences found