Add 'H' to getlongopts so that "readelf -H" does not display "unknown option"

This commit is contained in:
Nick Clifton 2003-02-13 09:56:51 +00:00
parent f0c8c24a69
commit d3c543fde9
2 changed files with 3 additions and 1 deletions

View 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

View 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;