OSDN Git Service

Add 'H' to getlongopts so that "readelf -H" does not display "unknown option"
authornickc <nickc>
Thu, 13 Feb 2003 09:56:51 +0000 (09:56 +0000)
committernickc <nickc>
Thu, 13 Feb 2003 09:56:51 +0000 (09:56 +0000)
binutils/ChangeLog
binutils/readelf.c

index e3039ef..9903634 100644 (file)
@@ -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
index 6a5986f..fa6aa57 100644 (file)
@@ -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;