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

            Bug ID: 69453
           Summary: unrecognized command line option suggestions should
                    take negation into account
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

Unrecognized command line option suggestions should take negation into account:

markus@x4 tmp % g++ --Wno-narrowing
g++: error: unrecognized command line option ‘--Wno-narrowing’; did you mean
‘-Wnarrowing’?
g++: fatal error: no input files
compilation terminated.

"did you mean ‘-Wno-narrowing’" would be nicer.

Reply via email to