From: Nick Clifton Date: Thu, 13 Feb 2003 09:56:51 +0000 (+0000) Subject: Add 'H' to getlongopts so that "readelf -H" does not display "unknown option" X-Git-Tag: binutils-2_14-branchpoint~860 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3c543fde935de5565595d72c0e9df73534baa60;p=thirdparty%2Fbinutils-gdb.git Add 'H' to getlongopts so that "readelf -H" does not display "unknown option" --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e3039efc533..9903634d6db 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 * readelf.c (decode_ARM_machine_flags): Handle the diff --git a/binutils/readelf.c b/binutils/readelf.c index 6a5986f11f2..fa6aa578966 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;