diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 1660b11..e41a489 100644 --- a/include/applets.h +++ b/include/applets.h @@ -440,6 +440,9 @@ #ifdef CONFIG_START_STOP_DAEMON APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon) #endif +#ifdef CONFIG_STRINGS + APPLET(strings, strings_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_STTY APPLET(stty, stty_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index b66d964..b49f386 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1681,6 +1681,15 @@ "-s <signal>\t\tsignal to send (default 15)\n"\ "-a <pathname>\t\tprogram to start (default <executable>)\n" +#define strings_trivial_usage \ + "[-afo] [-n length] [file ... ]" +#define strings_full_usage \ + "Display printable strings in a binary file." \ + "\n\nOptions:" \ + "\n\t-f\tPrecede each string with the name of the file where it was found." \ + "\n\t-n N\tSpecifies that at least N characters forms a sequence (default 4)" \ + "\n\t-o\tEach string is preceded by its decimal offset in the file." + #define stty_trivial_usage \ "[-a|g] [-F DEVICE] [SETTING]..." #define stty_full_usage \ |