diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /dmesg.c | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2 busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip |
Extract usage information into a separate file.
Diffstat (limited to 'dmesg.c')
-rw-r--r-- | dmesg.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -32,16 +32,6 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len); | |||
32 | # include <sys/klog.h> | 32 | # include <sys/klog.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | static const char dmesg_usage[] = "dmesg [-c] [-n LEVEL] [-s SIZE]\n" | ||
36 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
37 | "\nPrints or controls the kernel ring buffer\n\n" | ||
38 | "Options:\n" | ||
39 | "\t-c\t\tClears the ring buffer's contents after printing\n" | ||
40 | "\t-n LEVEL\tSets console logging level\n" | ||
41 | "\t-s SIZE\t\tUse a buffer of size SIZE\n" | ||
42 | #endif | ||
43 | ; | ||
44 | |||
45 | int dmesg_main(int argc, char **argv) | 35 | int dmesg_main(int argc, char **argv) |
46 | { | 36 | { |
47 | char *buf, c; | 37 | char *buf, c; |