diff options
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; |