svlogd: extend usage text. +70 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -3538,13 +3538,6 @@ INSERT
|
|||||||
"pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" \
|
"pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" \
|
||||||
"STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service" \
|
"STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service" \
|
||||||
|
|
||||||
#define svlogd_trivial_usage \
|
|
||||||
"[-ttv] [-r C] [-R CHARS] [-l MATCHLEN] [-b BUFLEN] DIR..."
|
|
||||||
#define svlogd_full_usage "\n\n" \
|
|
||||||
"Continuously read log data from stdin, optionally\n" \
|
|
||||||
"filter log messages, and write the data to one or more automatically\n" \
|
|
||||||
"rotated logs" \
|
|
||||||
|
|
||||||
#define swapoff_trivial_usage \
|
#define swapoff_trivial_usage \
|
||||||
"[-a] [DEVICE]"
|
"[-a] [DEVICE]"
|
||||||
#define swapoff_full_usage "\n\n" \
|
#define swapoff_full_usage "\n\n" \
|
||||||
|
@ -125,6 +125,23 @@ log message, you can use a pattern like this instead
|
|||||||
-*: *: pid *
|
-*: *: 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/poll.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
Reference in New Issue
Block a user