diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/libbb.h | 2 | ||||
-rw-r--r-- | include/usage.h | 7 |
3 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 0d0f56483..c4c75a83f 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -270,6 +270,7 @@ USE_STTY(APPLET(stty, _BB_DIR_BIN, _BB_SUID_NEVER)) | |||
270 | USE_SU(APPLET(su, _BB_DIR_BIN, _BB_SUID_ALWAYS)) | 270 | USE_SU(APPLET(su, _BB_DIR_BIN, _BB_SUID_ALWAYS)) |
271 | USE_SULOGIN(APPLET(sulogin, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 271 | USE_SULOGIN(APPLET(sulogin, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
272 | USE_SUM(APPLET(sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 272 | USE_SUM(APPLET(sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
273 | USE_SVLOGD(APPLET(svlogd, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | ||
273 | USE_SWAPONOFF(APPLET_ODDNAME(swapoff, swap_on_off, _BB_DIR_SBIN, _BB_SUID_NEVER,swapoff)) | 274 | USE_SWAPONOFF(APPLET_ODDNAME(swapoff, swap_on_off, _BB_DIR_SBIN, _BB_SUID_NEVER,swapoff)) |
274 | USE_SWAPONOFF(APPLET_ODDNAME(swapon, swap_on_off, _BB_DIR_SBIN, _BB_SUID_NEVER, swapon)) | 275 | USE_SWAPONOFF(APPLET_ODDNAME(swapon, swap_on_off, _BB_DIR_SBIN, _BB_SUID_NEVER, swapon)) |
275 | USE_SWITCH_ROOT(APPLET(switch_root, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 276 | USE_SWITCH_ROOT(APPLET(switch_root, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
diff --git a/include/libbb.h b/include/libbb.h index ce4b9223c..3fb477b33 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -335,6 +335,8 @@ long xatol_range(const char *numstr, long lower, long upper); | |||
335 | long xatol_sfx(const char *numstr, const struct suffix_mult *suffixes); | 335 | long xatol_sfx(const char *numstr, const struct suffix_mult *suffixes); |
336 | long xatol(const char *numstr); | 336 | long xatol(const char *numstr); |
337 | /* Specialized: */ | 337 | /* Specialized: */ |
338 | unsigned xatou_range(const char *numstr, unsigned lower, unsigned upper); | ||
339 | unsigned xatou_sfx(const char *numstr, const struct suffix_mult *suffixes); | ||
338 | unsigned xatou(const char *numstr); | 340 | unsigned xatou(const char *numstr); |
339 | int xatoi_range(const char *numstr, int lower, int upper); | 341 | int xatoi_range(const char *numstr, int lower, int upper); |
340 | int xatoi(const char *numstr); | 342 | int xatoi(const char *numstr); |
diff --git a/include/usage.h b/include/usage.h index 7de93e00e..db41a8e79 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2841,6 +2841,13 @@ USE_FEATURE_START_STOP_DAEMON_FANCY( \ | |||
2841 | "\t-r\tuse BSD sum algorithm (1K blocks)\n" \ | 2841 | "\t-r\tuse BSD sum algorithm (1K blocks)\n" \ |
2842 | "\t-s\tuse System V sum algorithm (512byte blocks)" | 2842 | "\t-s\tuse System V sum algorithm (512byte blocks)" |
2843 | 2843 | ||
2844 | #define svlogd_trivial_usage \ | ||
2845 | "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." | ||
2846 | #define svlogd_full_usage \ | ||
2847 | "Continuously read log data from standard input, optionally " \ | ||
2848 | "filter log messages, and write the data to one or more automatically " \ | ||
2849 | "rotated logs." | ||
2850 | |||
2844 | #define swapoff_trivial_usage \ | 2851 | #define swapoff_trivial_usage \ |
2845 | "[-a] [DEVICE]" | 2852 | "[-a] [DEVICE]" |
2846 | #define swapoff_full_usage \ | 2853 | #define swapoff_full_usage \ |