From bec11da698eda5af93401e6e667e06d7e07464e9 Mon Sep 17 00:00:00 2001 From: nickc Date: Thu, 13 Feb 2003 09:56:51 +0000 Subject: [PATCH] Add 'H' to getlongopts so that "readelf -H" does not display "unknown option" --- binutils/ChangeLog | 2 ++ binutils/readelf.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e3039efc53..9903634d6d 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 6a5986f11f..fa6aa57896 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; -- 2.11.0