aboutsummaryrefslogtreecommitdiff
path: root/binutils/strings.c
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2018-02-19 11:56:53 +0000
committerNick Clifton <nickc@redhat.com>2018-02-19 11:56:53 +0000
commite535d0ddb3ca97c849bd3dbab997dc756625cc9e (patch)
treefb9426ff6452247200f693111c16e2449b0fde41 /binutils/strings.c
parentb5884fa7101cc528f07fd57c3de445a3680964a6 (diff)
downloadgdb-e535d0ddb3ca97c849bd3dbab997dc756625cc9e.zip
gdb-e535d0ddb3ca97c849bd3dbab997dc756625cc9e.tar.gz
gdb-e535d0ddb3ca97c849bd3dbab997dc756625cc9e.tar.bz2
Fix mistake in the declaration of the --include-all-whitespace option of the strings utility.
* strings.c (long_options): Include-all-whitespace does not take an extra agument.
Diffstat (limited to 'binutils/strings.c')
-rw-r--r--binutils/strings.c2
1 files changed, 1 insertions, 1 deletions
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'},