I'm using GNU indent 2.2.9 on Fedora 8.

This is a pretty minor thing, and doesn't affect the use of indent for
GCC.  But, I thought I'd report it anyway.

Generally it is best if '--help' output goes to stdout (so that users
can "foo --help | more").

And, typically GNU programs exit with status 0 when --help or
--version is specified.  The rationale is, the program did what the
user wanted, so there was no error, so status 0 is correct.

indent --help prints some things to stderr and some to stdout, which
is strange.  And, the --help output is not very helpful.  Try
something like "cp --help" to see something that is quite helpful --
almost like a brief man page.

Also, both indent --help and indent --version exit with status 1.

Tom


_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to