diff options
author | Nick Clifton <nickc@redhat.com> | 2003-02-13 09:56:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-02-13 09:56:51 +0000 |
commit | d3c543fde935de5565595d72c0e9df73534baa60 (patch) | |
tree | 75ac71f6f8cf610789d107b299a31bdaaabf4bdb /binutils | |
parent | f0c8c24a697dc386b56b86c0a0b869ac7c3f857d (diff) | |
download | gdb-d3c543fde935de5565595d72c0e9df73534baa60.zip gdb-d3c543fde935de5565595d72c0e9df73534baa60.tar.gz gdb-d3c543fde935de5565595d72c0e9df73534baa60.tar.bz2 |
Add 'H' to getlongopts so that "readelf -H" does not display "unknown option"
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 2 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e3039ef..9903634 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -4,6 +4,8 @@ quotes consistent. * objdump.c (usage): Ditto. Also fix some typos. + * readelf.c (parse_args): Include 'H' option in call to getopt_long. + 2003-02-10 Nick Clifton <nickc@redhat.com> * readelf.c (decode_ARM_machine_flags): Handle the diff --git a/binutils/readelf.c b/binutils/readelf.c index 6a5986f..fa6aa57 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2529,7 +2529,7 @@ parse_args (argc, argv) usage (); while ((c = getopt_long - (argc, argv, "ersuahnldSDAIw::x:i:vVW", options, NULL)) != EOF) + (argc, argv, "ersuahnldSDAIw::x:i:vVWH", options, NULL)) != EOF) { char *cp; int section; |