mirror of
https://github.com/troglobit/finit.git
synced 2026-11-18 19:30:56 +00:00
logit: Hard code program name and clarify distribution scope
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c315fb5637
commit
0e51a1eed8
1 file changed
+4
-3
+4
-3
@@ -185,7 +185,7 @@ static int parse_prio(char *arg, int *f, int *l)
|
|||||||
|
|
||||||
static int usage(int code)
|
static int usage(int code)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Usage: %s [OPTIONS] [MESSAGE]\n"
|
fprintf(stderr, "Usage: logit [OPTIONS] [MESSAGE]\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Write MESSAGE (or stdin) to syslog, or file (with logrotate)\n"
|
"Write MESSAGE (or stdin) to syslog, or file (with logrotate)\n"
|
||||||
"\n"
|
"\n"
|
||||||
@@ -197,9 +197,10 @@ static int usage(int code)
|
|||||||
" -f FILE File to write log messages to, instead of syslog\n"
|
" -f FILE File to write log messages to, instead of syslog\n"
|
||||||
" -n SIZE Number of bytes before rotating, default: 200 kB\n"
|
" -n SIZE Number of bytes before rotating, default: 200 kB\n"
|
||||||
" -r NUM Number of rotated files to keep, default: 5\n"
|
" -r NUM Number of rotated files to keep, default: 5\n"
|
||||||
" -v Show program version\n"
|
" -v Show program version\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Bug report address: %s\n", PACKAGE, PACKAGE_BUGREPORT);
|
"This version of logit is distributed as part of Finit.\n"
|
||||||
|
"Bug report address: %s\n", PACKAGE_BUGREPORT);
|
||||||
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user