[Bug driver/31350] gcc -v --help puts some output on std. out, and some on std. error.

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 7 01:14:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31350

--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
This is exactly the same case as:

$ gcc --help --invalid 1> /dev/null
gcc: error: unrecognized command line option ‘--invalid’

One should not expect the error output to go to stdout just because --help was
provided.


More information about the Gcc-bugs mailing list