aboutsummaryrefslogtreecommitdiff
path: root/syslogd.c
diff options
context:
space:
mode:
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. */