aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-02-09 20:21:01 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-02-09 20:21:01 +0100
commit3f52d13647f0660aeb9eb191ddb221f62c9df069 (patch)
tree7f650b400c7a2e81f005cf065b55f9c18b7279d0
parentf786901c4bc2e724221e5c07208c3cd7913cb98c (diff)
downloadbusybox-w32-3f52d13647f0660aeb9eb191ddb221f62c9df069.tar.gz
busybox-w32-3f52d13647f0660aeb9eb191ddb221f62c9df069.tar.bz2
busybox-w32-3f52d13647f0660aeb9eb191ddb221f62c9df069.zip
svlogd: improve --help text
function old new delta packed_usage 32278 32367 +89 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--runit/svlogd.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c
index dfd7e38a0..412290ca9 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -140,15 +140,22 @@ log message, you can use a pattern like this instead
140//usage:#define svlogd_full_usage "\n\n" 140//usage:#define svlogd_full_usage "\n\n"
141//usage: "Read log data from stdin and write to rotated log files in DIRs" 141//usage: "Read log data from stdin and write to rotated log files in DIRs"
142//usage: "\n" 142//usage: "\n"
143//usage: "\n""-r C Replace non-printable characters with C"
144//usage: "\n""-R CHARS Also replace CHARS with C (default _)"
145//usage: "\n""-t Timestamp with @tai64n"
146//usage: "\n""-tt Timestamp with yyyy-mm-dd_hh:mm:ss.sssss"
147//usage: "\n""-ttt Timestamp with yyyy-mm-ddThh:mm:ss.sssss"
148//usage: "\n""-v Verbose"
149//usage: "\n"
143//usage: "\n""DIR/config file modifies behavior:" 150//usage: "\n""DIR/config file modifies behavior:"
144//usage: "\n""sSIZE - when to rotate logs" 151//usage: "\n""sSIZE - when to rotate logs (default 1000000, 0 disables)"
145//usage: "\n""nNUM - number of files to retain" 152//usage: "\n""nNUM - number of files to retain"
146/*usage: "\n""NNUM - min number files to retain" - confusing */ 153///////: "\n""NNUM - min number files to retain" - confusing
147/*usage: "\n""tSEC - rotate file if it get SEC seconds old" - confusing */ 154///////: "\n""tSEC - rotate file if it get SEC seconds old" - confusing
148//usage: "\n""!PROG - process rotated log with PROG" 155//usage: "\n""!PROG - process rotated log with PROG"
149/*usage: "\n""uIPADDR - send log over UDP" - unsupported */ 156///////: "\n""uIPADDR - send log over UDP" - unsupported
150/*usage: "\n""UIPADDR - send log over UDP and DONT log" - unsupported */ 157///////: "\n""UIPADDR - send log over UDP and DONT log" - unsupported
151/*usage: "\n""pPFX - prefix each line with PFX" - unsupported */ 158///////: "\n""pPFX - prefix each line with PFX" - unsupported
152//usage: "\n""+,-PATTERN - (de)select line for logging" 159//usage: "\n""+,-PATTERN - (de)select line for logging"
153//usage: "\n""E,ePATTERN - (de)select line for stderr" 160//usage: "\n""E,ePATTERN - (de)select line for stderr"
154 161