This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]