From bf181b9338152759fd56c8009e9a962a84808e7c Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Sun, 16 Jul 2000 20:57:15 +0000 Subject: Extract usage information into a separate file. --- sysklogd/logger.c | 14 -------------- sysklogd/syslogd.c | 15 --------------- 2 files changed, 29 deletions(-) (limited to 'sysklogd') diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 981748bb5..0e1ce8dce 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 55fd8dc74..264d899f3 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))); -- cgit v1.2.3