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 1660b11c5..e41a48996 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -440,6 +440,9 @@ | |||
440 | #ifdef CONFIG_START_STOP_DAEMON | 440 | #ifdef CONFIG_START_STOP_DAEMON |
441 | APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon) | 441 | APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon) |
442 | #endif | 442 | #endif |
443 | #ifdef CONFIG_STRINGS | ||
444 | APPLET(strings, strings_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
445 | #endif | ||
443 | #ifdef CONFIG_STTY | 446 | #ifdef CONFIG_STTY |
444 | APPLET(stty, stty_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 447 | APPLET(stty, stty_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
445 | #endif | 448 | #endif |
diff --git a/include/usage.h b/include/usage.h index b66d96402..b49f3869b 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1681,6 +1681,15 @@ | |||
1681 | "-s <signal>\t\tsignal to send (default 15)\n"\ | 1681 | "-s <signal>\t\tsignal to send (default 15)\n"\ |
1682 | "-a <pathname>\t\tprogram to start (default <executable>)\n" | 1682 | "-a <pathname>\t\tprogram to start (default <executable>)\n" |
1683 | 1683 | ||
1684 | #define strings_trivial_usage \ | ||
1685 | "[-afo] [-n length] [file ... ]" | ||
1686 | #define strings_full_usage \ | ||
1687 | "Display printable strings in a binary file." \ | ||
1688 | "\n\nOptions:" \ | ||
1689 | "\n\t-f\tPrecede each string with the name of the file where it was found." \ | ||
1690 | "\n\t-n N\tSpecifies that at least N characters forms a sequence (default 4)" \ | ||
1691 | "\n\t-o\tEach string is preceded by its decimal offset in the file." | ||
1692 | |||
1684 | #define stty_trivial_usage \ | 1693 | #define stty_trivial_usage \ |
1685 | "[-a|g] [-F DEVICE] [SETTING]..." | 1694 | "[-a|g] [-F DEVICE] [SETTING]..." |
1686 | #define stty_full_usage \ | 1695 | #define stty_full_usage \ |