Fix mistake in the declaration of the --include-all-whitespace option of the strings...
authorMatthias Klose <doko@debian.org>
Mon, 19 Feb 2018 11:56:53 +0000 (11:56 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 19 Feb 2018 11:56:53 +0000 (11:56 +0000)
* strings.c (long_options): Include-all-whitespace does not take
        an extra agument.

binutils/ChangeLog
binutils/strings.c

index 19b95072b08a55d1bbebd800d5ce4adb2f7719be..11fe4f810afd779bac8137fbfdea602648aee47a 100644 (file)
@@ -1,3 +1,8 @@
+2018-02-19  Matthias Klose  <doko@debian.org>
+
+       * strings.c (long_options): Include-all-whitespace does not take
+        an extra agument.
+
 2018-02-13  Alan Modra  <amodra@gmail.com>
 
        PR 22836
index da044ac9c03374ba4d8d075b6dd272cb6c881026..7655ab6152b18af557b70f62666839e48aaa8570 100644 (file)
@@ -125,7 +125,7 @@ static struct option long_options[] =
   {"print-file-name", no_argument, NULL, 'f'},
   {"bytes", required_argument, NULL, 'n'},
   {"radix", required_argument, NULL, 't'},
-  {"include-all-whitespace", required_argument, NULL, 'w'},
+  {"include-all-whitespace", no_argument, NULL, 'w'},
   {"encoding", required_argument, NULL, 'e'},
   {"target", required_argument, NULL, 'T'},
   {"output-separator", required_argument, NULL, 's'},