aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h6
-rw-r--r--include/usage.h22
2 files changed, 9 insertions, 19 deletions
diff --git a/include/applets.h b/include/applets.h
index 2ee816465..cd5065103 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -169,9 +169,6 @@
169#ifdef CONFIG_DUMPLEASES 169#ifdef CONFIG_DUMPLEASES
170 APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 170 APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
171#endif 171#endif
172#ifdef CONFIG_DUTMP
173 APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
174#endif
175#ifdef CONFIG_ECHO 172#ifdef CONFIG_ECHO
176 APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER) 173 APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER)
177#endif 174#endif
@@ -316,6 +313,9 @@
316#ifdef CONFIG_LASH 313#ifdef CONFIG_LASH
317 APPLET(lash, lash_main, _BB_DIR_BIN, _BB_SUID_NEVER) 314 APPLET(lash, lash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
318#endif 315#endif
316#ifdef CONFIG_LAST
317 APPLET(last, last_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
318#endif
319#ifdef CONFIG_LENGTH 319#ifdef CONFIG_LENGTH
320 APPLET(length, length_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 320 APPLET(length, length_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
321#endif 321#endif
diff --git a/include/usage.h b/include/usage.h
index 7bf9c8952..35a3d5033 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -461,21 +461,6 @@
461 "\t-r,\t--remaining\tInterepret lease times as time remaing\n" \ 461 "\t-r,\t--remaining\tInterepret lease times as time remaing\n" \
462 "\t-a,\t--absolute\tInterepret lease times as expire time\n" 462 "\t-a,\t--absolute\tInterepret lease times as expire time\n"
463 463
464#define dutmp_trivial_usage \
465 "[FILE]"
466#define dutmp_full_usage \
467 "Dump utmp file format (pipe delimited) from FILE\n" \
468 "or stdin to stdout. (i.e., 'dutmp /var/run/utmp')"
469#define dutmp_example_usage \
470 "$ dutmp /var/run/utmp\n" \
471 "8|7||si|||0|0|0|955637625|760097|0\n" \
472 "2|0|~|~~|reboot||0|0|0|955637625|782235|0\n" \
473 "1|20020|~|~~|runlevel||0|0|0|955637625|800089|0\n" \
474 "8|125||l4|||0|0|0|955637629|998367|0\n" \
475 "6|245|tty1|1|LOGIN||0|0|0|955637630|998974|0\n" \
476 "6|246|tty2|2|LOGIN||0|0|0|955637630|999498|0\n" \
477 "7|336|pts/0|vt00|andersen|:0.0|0|0|0|955637763|0|0\n"
478
479#ifdef CONFIG_FEATURE_FANCY_ECHO 464#ifdef CONFIG_FEATURE_FANCY_ECHO
480 #define USAGE_FANCY_ECHO(a) a 465 #define USAGE_FANCY_ECHO(a) a
481#else 466#else
@@ -2068,7 +2053,7 @@
2068 "[FILE]...\n" \ 2053 "[FILE]...\n" \
2069 "or: sh -c command [args]..." 2054 "or: sh -c command [args]..."
2070#define lash_full_usage \ 2055#define lash_full_usage \
2071 "lash: The BusyBox LAme SHell (command interpreter)" 2056 "The BusyBox LAme SHell (command interpreter)"
2072#define lash_notes_usage \ 2057#define lash_notes_usage \
2073"This command does not yet have proper documentation.\n" \ 2058"This command does not yet have proper documentation.\n" \
2074"\n" \ 2059"\n" \
@@ -2079,6 +2064,11 @@
2079"use ash or bash. If you just need a very simple and extremely small shell,\n" \ 2064"use ash or bash. If you just need a very simple and extremely small shell,\n" \
2080"this will do the job." 2065"this will do the job."
2081 2066
2067#define last_trivial_usage \
2068 ""
2069#define last_full_usage \
2070 "Shows listing of the last users that logged into the system"
2071
2082#define sha1sum_trivial_usage \ 2072#define sha1sum_trivial_usage \
2083 "[OPTION] [FILE]" 2073 "[OPTION] [FILE]"
2084#define sha1sum_full_usage \ 2074#define sha1sum_full_usage \