summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2021-06-15 10:39:33 +0200
committerDenys Vlasenko2021-06-15 10:39:33 +0200
commite47000490c30109db1d571bcab12f385cd0139e5 (patch)
treea2cd5ab7bdc26920a8f2b20ae7d8e57c7aa8bf3c /miscutils
parent1f60d88cf6f5ad3efcad6e7ef1501ce334046e40 (diff)
downloadbusybox-e47000490c30109db1d571bcab12f385cd0139e5.zip
busybox-e47000490c30109db1d571bcab12f385cd0139e5.tar.gz
shuf: simplify check that we have at least one FILE
function old new delta .rodata 103190 103194 +4 packed_usage 33541 33537 -4 shred_main 354 337 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 4/-21) Total: -17 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index e4a6822..b018849 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -18,7 +18,7 @@
//kbuild:lib-$(CONFIG_STRINGS) += strings.o
//usage:#define strings_trivial_usage
-//usage: "[-fo] [-t o/d/x] [-n LEN] [FILE]..."
+//usage: "[-fo] [-t o|d|x] [-n LEN] [FILE]..."
//usage:#define strings_full_usage "\n\n"
//usage: "Display printable strings in a binary file\n"
//We usually don't bother user with "nop" options. They work, but are not shown:
@@ -26,7 +26,7 @@
//unimplemented alternative is -d: Only strings from initialized, loaded data sections
//usage: "\n -f Precede strings with filenames"
//usage: "\n -o Precede strings with octal offsets"
-//usage: "\n -t o/d/x Precede strings with offsets in base 8/10/16"
+//usage: "\n -t o|d|x Precede strings with offsets in base 8/10/16"
//usage: "\n -n LEN At least LEN characters form a string (default 4)"
#include "libbb.h"