diff options
author | Robert Griebl <griebl@gmx.de> | 2002-08-07 21:10:19 +0000 |
---|---|---|
committer | Robert Griebl <griebl@gmx.de> | 2002-08-07 21:10:19 +0000 |
commit | 65d415d847f7c946e16e66d1bdbe374155f2babd (patch) | |
tree | cb04c0d81fa2eb9418f687d15b165bf5d40d33a2 | |
parent | 00f5ecb141caaa0b77bb8f3090ff95ac52458699 (diff) |
Added a help text for the -C option to syslogd
-rw-r--r-- | include/usage.h | 10 |
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 @@ #else #define USAGE_REMOTE_LOG(a) #endif +#ifdef CONFIG_FEATURE_IPC_SYSLOG + #define USAGE_IPC_LOG(a) a +#else + #define USAGE_IPC_LOG(a) +#endif + #define syslogd_trivial_usage \ "[OPTION]..." #define syslogd_full_usage \ @@ -1690,7 +1696,9 @@ "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ USAGE_REMOTE_LOG( \ "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \ - "\t-L\t\tLog locally and via network logging (default is network only)") + "\t-L\t\tLog locally and via network logging (default is network only)") \ + USAGE_IPC_LOG( \ + "\n\t-C\t\tLog to a circular buffer (read the buffer using logread)") #define syslogd_example_usage \ "$ syslogd -R masterlog:514\n" \ "$ syslogd -R 192.168.1.1:601\n" |