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/69361] Nonsensical suggestion for misspelled command-line option "-help"


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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
More recent gcc (e.g. today's) is saner:

$ gcc -help
gcc: error: unrecognized command line option ‘-h’
gcc: fatal error: no input files
compilation terminated.

In particular, it doesn't print the bogus suggestion, presumably due to
r242965.

Closing this one out.

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