bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22260] strip -M listed in documentation but evokes "invali


From: nickc at redhat dot com
Subject: [Bug binutils/22260] strip -M listed in documentation but evokes "invalid option"
Date: Thu, 05 Oct 2017 13:00:17 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22260

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |nickc at redhat dot com
         Resolution|---                         |FIXED

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Oliver,

  Thanks for reporting this problem.  The bug was a simple omission of the M
character from the string of supported options in the strip code.  I have
checked in a small patch to fix this.

  As for not including the default options in the --help output - I do not
think that this would be a good idea.  It is important that --help lists all of
the supported options, as a user may need to return a program to its default
behaviour.  This can happen for example when a build system automatically
generates a command line to invoke a tool, but the user needs to override the
build system's defaults.  

  Listing all of the supported options is also helpful in a case like the -M
option to strip, where there is no equivalent short form of the negated option.
 So if --no-merge-notes were to be displayed, but --merge-notes (and -M) were
not, then the user would have no idea that the -M option was supported.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]