diff options
author | Matt Kraai | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /sysklogd | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz |
Extract usage information into a separate file.
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logger.c | 14 | ||||
-rw-r--r-- | sysklogd/syslogd.c | 15 |
2 files changed, 0 insertions, 29 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 981748b..0e1ce8d 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -47,20 +47,6 @@ extern CODE prioritynames[]; extern CODE facilitynames[]; #endif -static const char logger_usage[] = - "logger [OPTION]... [MESSAGE]\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nWrite MESSAGE to the system log. If MESSAGE is '-', log stdin.\n\n" - "Options:\n" - "\t-s\tLog to stderr as well as the system log.\n" - "\t-t\tLog using the specified tag (defaults to user name).\n" - - "\t-p\tEnter the message with the specified priority.\n" - "\t\tThis may be numerical or a ``facility.level'' pair.\n" -#endif - ; - - /* Decode a symbolic name to a numeric value * this function is based on code * Copyright (c) 1983, 1993 diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 55fd8dc..264d899 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -76,21 +76,6 @@ static int MarkInterval = 20 * 60; /* localhost's name */ static char LocalHostName[32]; -static const char syslogd_usage[] = - "syslogd [OPTION]...\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nLinux system and kernel (provides klogd) logging utility.\n" - "Note that this version of syslogd/klogd ignores /etc/syslog.conf.\n\n" - "Options:\n" - "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" - "\t-n\t\tRun as a foreground process\n" -#ifdef BB_FEATURE_KLOGD - "\t-K\t\tDo not start up the klogd process\n" -#endif - "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n" -#endif - ; - /* Note: There is also a function called "message()" in init.c */ /* Print a message to the log file. */ static void message (char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |