diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-08-08 22:26:06 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-08-08 22:26:06 +0000 |
commit | 2e9c25700061b23982f8600288178c1f6a370c1e (patch) | |
tree | b9523c8010e85f5879a89e2a4b7e202d674e1e1c /include/usage.h | |
parent | f1c56a9306680874577abf01749c4b33877eb89a (diff) | |
download | busybox-w32-2e9c25700061b23982f8600288178c1f6a370c1e.tar.gz busybox-w32-2e9c25700061b23982f8600288178c1f6a370c1e.tar.bz2 busybox-w32-2e9c25700061b23982f8600288178c1f6a370c1e.zip |
Implement a minimalist 'last' which allows the LEAF project to
no longer need dumtp. Remove the 'dumtp' applet.
-Erik
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 22 |
1 files changed, 6 insertions, 16 deletions
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 \ |