[PATCH] readelf needs to accept "-H" option

Bob Wilson bwilson@tensilica.com
Wed Feb 12 20:59:00 GMT 2003


readelf is supposed to accept "-H" as the short version of "--help", except 
that the 'H' character is missing from the call to getopt_long.  Since the 
usage message gets printed for both "-H" and for unrecognized options, the 
only symptom of this problem is that readelf prints:

readelf: invalid option -- H

Here's a patch to fix it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-readelf.diff
Type: text/x-diff
Size: 770 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030212/28047f94/attachment.bin>


More information about the Binutils mailing list