Closed scop closed 3 years ago
Previously help and all usage errors resulted in exit status 255, which is unconventional.
Treat help as non-error, and error with status 2 for usage errors to match more common command behavior.
The exit status of -? changes to that of an usage error, even though it is listed as one of the help invoking options, due to getopt_long behavior.
Previously help and all usage errors resulted in exit status 255, which is unconventional.
Treat help as non-error, and error with status 2 for usage errors to match more common command behavior.
The exit status of -? changes to that of an usage error, even though it is listed as one of the help invoking options, due to getopt_long behavior.