aboutsummaryrefslogtreecommitdiff
path: root/miscutils/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/strings.c')
-rw-r--r--miscutils/strings.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index 7ab0e227c..6e8b9aefc 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -7,6 +7,16 @@
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9 9
10//usage:#define strings_trivial_usage
11//usage: "[-afo] [-n LEN] [FILE]..."
12//usage:#define strings_full_usage "\n\n"
13//usage: "Display printable strings in a binary file\n"
14//usage: "\nOptions:"
15//usage: "\n -a Scan whole file (default)"
16//usage: "\n -f Precede strings with filenames"
17//usage: "\n -n LEN At least LEN characters form a string (default 4)"
18//usage: "\n -o Precede strings with decimal offsets"
19
10#include "libbb.h" 20#include "libbb.h"
11 21
12#define WHOLE_FILE 1 22#define WHOLE_FILE 1