aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <griebl@gmx.de>2002-08-07 21:10:19 +0000
committerRobert Griebl <griebl@gmx.de>2002-08-07 21:10:19 +0000
commit65d415d847f7c946e16e66d1bdbe374155f2babd (patch)
treecb04c0d81fa2eb9418f687d15b165bf5d40d33a2
parent00f5ecb141caaa0b77bb8f3090ff95ac52458699 (diff)
downloadbusybox-w32-65d415d847f7c946e16e66d1bdbe374155f2babd.tar.gz
busybox-w32-65d415d847f7c946e16e66d1bdbe374155f2babd.tar.bz2
busybox-w32-65d415d847f7c946e16e66d1bdbe374155f2babd.zip
Added a help text for the -C option to syslogd
-rw-r--r--include/usage.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index b7b1ac65d..a232c88da 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1679,6 +1679,12 @@
1679#else 1679#else
1680 #define USAGE_REMOTE_LOG(a) 1680 #define USAGE_REMOTE_LOG(a)
1681#endif 1681#endif
1682#ifdef CONFIG_FEATURE_IPC_SYSLOG
1683 #define USAGE_IPC_LOG(a) a
1684#else
1685 #define USAGE_IPC_LOG(a)
1686#endif
1687
1682#define syslogd_trivial_usage \ 1688#define syslogd_trivial_usage \
1683 "[OPTION]..." 1689 "[OPTION]..."
1684#define syslogd_full_usage \ 1690#define syslogd_full_usage \
@@ -1690,7 +1696,9 @@
1690 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ 1696 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \
1691 USAGE_REMOTE_LOG( \ 1697 USAGE_REMOTE_LOG( \
1692 "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \ 1698 "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \
1693 "\t-L\t\tLog locally and via network logging (default is network only)") 1699 "\t-L\t\tLog locally and via network logging (default is network only)") \
1700 USAGE_IPC_LOG( \
1701 "\n\t-C\t\tLog to a circular buffer (read the buffer using logread)")
1694#define syslogd_example_usage \ 1702#define syslogd_example_usage \
1695 "$ syslogd -R masterlog:514\n" \ 1703 "$ syslogd -R masterlog:514\n" \
1696 "$ syslogd -R 192.168.1.1:601\n" 1704 "$ syslogd -R 192.168.1.1:601\n"