aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-01-22 00:38:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-01-22 00:38:24 +0100
commit3a0f690dcd06ff693a0b76d764739425600ec1f1 (patch)
tree2c037e53c4a2c87c9b6cd4cd57f169baa1baf5c7 /runit
parente8f565c1eeba336fa13ce8216464c9daedd36f76 (diff)
downloadbusybox-3a0f690dcd06ff693a0b76d764739425600ec1f1.tar.gz
svlogd: extend usage text. +70 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit')
-rw-r--r--runit/svlogd.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c
index c3ff4e9c1..cfa20a773 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -125,6 +125,23 @@ log message, you can use a pattern like this instead
-*: *: pid *
*/
+//usage:#define svlogd_trivial_usage
+//usage: "[-ttv] [-r C] [-R CHARS] [-l MATCHLEN] [-b BUFLEN] DIR..."
+//usage:#define svlogd_full_usage "\n\n"
+//usage: "Continuously read log data from stdin and write to rotated log files in DIRs"
+//usage: "\n"
+//usage: "\n""DIR/config file modifies behavior:"
+//usage: "\n""sSIZE - when to rotate logs"
+//usage: "\n""nNUM - number of files to retain"
+/*usage: "\n""NNUM - min number files to retain" - confusing */
+/*usage: "\n""tSEC - rotate file if it get SEC seconds old" - confusing */
+//usage: "\n""!PROG - process rotated log with PROG"
+/*usage: "\n""uIPADDR - send log over UDP" - unsupported */
+/*usage: "\n""UIPADDR - send log over UDP and DONT log" - unsupported */
+/*usage: "\n""pPFX - prefix each line with PFX" - unsupported */
+//usage: "\n""+,-PATTERN - (de)select line for logging"
+//usage: "\n""E,ePATTERN - (de)select line for stderr"
+
#include <sys/poll.h>
#include <sys/file.h>
#include "libbb.h"