aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/strings.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 19b9507..11fe4f8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/strings.c b/binutils/strings.c
index da044ac..7655ab6 100644
--- a/binutils/strings.c
+++ b/binutils/strings.c
@@ -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'},