summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2003-12-19 11:32:14 +0000
committerEric Andersen2003-12-19 11:32:14 +0000
commitd4a5e255c479647d172c9d7d7f61049277b7c0b9 (patch)
tree7931e79c7b1cc3c4d8804c39da6dc6cf9fb667ab /include
parent3752d337b3b8e704f1fe27451d481eae85d64f48 (diff)
downloadbusybox-d4a5e255c479647d172c9d7d7f61049277b7c0b9.zip
busybox-d4a5e255c479647d172c9d7d7f61049277b7c0b9.tar.gz
Patch from Fillod Stephane:
You will find in the attached file "syslog.patch" a patch which adds config options to set at compile time the size of the circular buffer, and some documentation update.
Diffstat (limited to 'include')
-rw-r--r--include/usage.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index 6db0385..ea1b5d5 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1458,10 +1458,12 @@
"root\n"
#define logread_trivial_usage \
- ""
+ "[OPTION]..."
#define logread_full_usage \
- "Shows the messages from syslogd (using circular buffer)."
+ "Shows the messages from syslogd (using circular buffer).\n\n"
+ "Options:\n" \
+ "\t-f\t\toutput data as the log grows"
#define losetup_trivial_usage \
"[OPTION]... LOOPDEVICE FILE\n" \
@@ -2280,7 +2282,7 @@
"\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)") \
USAGE_IPC_LOG( \
- "\n\t-C\t\tLog to a circular buffer (read the buffer using logread)")
+ "\n\t-C [size(KiB)]\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"