aboutsummaryrefslogtreecommitdiff
path: root/syslogd.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-05-12 19:41:47 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-05-12 19:41:47 +0000
commit3a7ad24d94bc8ca3a532664af56e7d6a5bedc073 (patch)
tree37ef0fb8b142a4925b866c7caa5207b71b4ecae6 /syslogd.c
parent22aaf5064548757d7cd32cd4b7d96c78852cdd0c (diff)
downloadbusybox-w32-3a7ad24d94bc8ca3a532664af56e7d6a5bedc073.tar.gz
busybox-w32-3a7ad24d94bc8ca3a532664af56e7d6a5bedc073.tar.bz2
busybox-w32-3a7ad24d94bc8ca3a532664af56e7d6a5bedc073.zip
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/syslogd.c b/syslogd.c
index cacb629e9..faa6f15e9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -64,8 +64,9 @@ static int MarkInterval = 20 * 60;
64static char LocalHostName[32]; 64static char LocalHostName[32];
65 65
66static const char syslogd_usage[] = 66static const char syslogd_usage[] =
67 "syslogd [OPTION]...\n\n" 67 "syslogd [OPTION]...\n"
68 "Linux system and kernel (provides klogd) logging utility.\n" 68#ifndef BB_FEATURE_TRIVIAL_HELP
69 "\nLinux system and kernel (provides klogd) logging utility.\n"
69 "Note that this version of syslogd/klogd ignores /etc/syslog.conf.\n\n" 70 "Note that this version of syslogd/klogd ignores /etc/syslog.conf.\n\n"
70 "Options:\n" 71 "Options:\n"
71 "\t-m\tChange the mark timestamp interval. default=20min. 0=off\n" 72 "\t-m\tChange the mark timestamp interval. default=20min. 0=off\n"
@@ -73,7 +74,9 @@ static const char syslogd_usage[] =
73#ifdef BB_KLOGD 74#ifdef BB_KLOGD
74 "\t-K\tDo not start up the klogd process (by default syslogd spawns klogd).\n" 75 "\t-K\tDo not start up the klogd process (by default syslogd spawns klogd).\n"
75#endif 76#endif
76 "\t-O\tSpecify an alternate log file. default=/var/log/messages\n"; 77 "\t-O\tSpecify an alternate log file. default=/var/log/messages\n"
78#endif
79 ;
77 80
78/* Note: There is also a function called "message()" in init.c */ 81/* Note: There is also a function called "message()" in init.c */
79/* Print a message to the log file. */ 82/* Print a message to the log file. */