From: Matthias Klose Date: Mon, 19 Feb 2018 11:56:53 +0000 (+0000) Subject: Fix mistake in the declaration of the --include-all-whitespace option of the strings... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e535d0ddb3ca97c849bd3dbab997dc756625cc9e;p=binutils-gdb.git 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. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 19b95072b08..11fe4f810af 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2018-02-19 Matthias Klose + + * strings.c (long_options): Include-all-whitespace does not take + an extra agument. + 2018-02-13 Alan Modra PR 22836 diff --git a/binutils/strings.c b/binutils/strings.c index da044ac9c03..7655ab6152b 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'},