summaryrefslogtreecommitdiff
path: root/dmesg.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /dmesg.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-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.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/dmesg.c b/dmesg.c
index 961e532b0..a8c61c7b4 100644
--- a/dmesg.c
+++ b/dmesg.c
@@ -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
35static 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
45int dmesg_main(int argc, char **argv) 35int dmesg_main(int argc, char **argv)
46{ 36{
47 char *buf, c; 37 char *buf, c;