Try to be more careful with --help printing

Namely, this will:

 - print --help to stdout rather than stderr
 - not print full usage when errors happen
 - add a prompt to use --help for more info on error

This should make it more greppable, clearer, and less spammy.
This commit is contained in:
Evan Typanski 2025-01-07 11:39:38 -05:00
parent adf02b487f
commit 0b2f843db9
4 changed files with 164 additions and 139 deletions

5
NEWS
View file

@ -15,6 +15,11 @@ New Functionality
Changed Functionality
---------------------
- Command line options processing will no longer print usage whenever there
is an error. Instead, issues in command line processing will print an error,
then prompt to use --help. The --help usage will now print to standard output
rather than standard error.
Removed Functionality
------------------------