summaryrefslogtreecommitdiff
path: root/util-linux/dmesg.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /util-linux/dmesg.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'util-linux/dmesg.c')
-rw-r--r--util-linux/dmesg.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index 961e532..a8c61c7 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -32,16 +32,6 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
# include <sys/klog.h>
#endif
-static const char dmesg_usage[] = "dmesg [-c] [-n LEVEL] [-s SIZE]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nPrints or controls the kernel ring buffer\n\n"
- "Options:\n"
- "\t-c\t\tClears the ring buffer's contents after printing\n"
- "\t-n LEVEL\tSets console logging level\n"
- "\t-s SIZE\t\tUse a buffer of size SIZE\n"
-#endif
- ;
-
int dmesg_main(int argc, char **argv)
{
char *buf, c;