summaryrefslogtreecommitdiff
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 7ab0e22..6e8b9ae 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -7,6 +7,16 @@
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//usage:#define strings_trivial_usage
+//usage: "[-afo] [-n LEN] [FILE]..."
+//usage:#define strings_full_usage "\n\n"
+//usage: "Display printable strings in a binary file\n"
+//usage: "\nOptions:"
+//usage: "\n -a Scan whole file (default)"
+//usage: "\n -f Precede strings with filenames"
+//usage: "\n -n LEN At least LEN characters form a string (default 4)"
+//usage: "\n -o Precede strings with decimal offsets"
+
#include "libbb.h"
#define WHOLE_FILE 1