aboutsummaryrefslogtreecommitdiff
path: root/binutils/strings.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-11-29 14:52:42 +0000
committerNick Clifton <nickc@redhat.com>2021-11-29 14:52:42 +0000
commit8fee99c3c8e25f2708bddde345c192dd2f3e7e08 (patch)
treedd4fe56c646e97a99a74debac3b652fb90891557 /binutils/strings.c
parentc2611492786971de47464246b8271d6a6ab9421a (diff)
downloadbinutils-8fee99c3c8e25f2708bddde345c192dd2f3e7e08.zip
binutils-8fee99c3c8e25f2708bddde345c192dd2f3e7e08.tar.gz
binutils-8fee99c3c8e25f2708bddde345c192dd2f3e7e08.tar.bz2
Update description of string's -n option.
PR 28632 * strings.c (usage): Update desciption of -n option. * doc/binutils.texi: Likewise.
Diffstat (limited to 'binutils/strings.c')
-rw-r--r--binutils/strings.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/binutils/strings.c b/binutils/strings.c
index 13db60f..f594299 100644
--- a/binutils/strings.c
+++ b/binutils/strings.c
@@ -32,7 +32,8 @@
--bytes=min-len
-n min-len
-min-len Print graphic char sequences, MIN-LEN or more bytes long,
- that are followed by a NUL or a newline. Default is 4.
+ that are followed by a NUL or a non-displayable character.
+ Default is 4.
--radix={o,x,d}
-t {o,x,d} Print the offset within the file before each string,
@@ -1323,8 +1324,8 @@ usage (FILE *stream, int status)
fprintf (stream, _("\
-f --print-file-name Print the name of the file before each string\n\
- -n --bytes=[number] Locate & print any NUL-terminated sequence of at\n\
- -<number> least [number] characters (default 4).\n\
+ -n <number> Locate & print any sequence of at least <number>\n\
+ --bytes=<number> displayable characters. (The default is 4).\n\
-t --radix={o,d,x} Print the location of the string in base 8, 10 or 16\n\
-w --include-all-whitespace Include all whitespace as valid string characters\n\
-o An alias for --radix=o\n\