klogd: Update usage text, no more -i or -I

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-08 08:06:45 +01:00
parent 172ae92887
commit 3377f07a5a
2 changed files with 6 additions and 8 deletions

View File

@ -13,7 +13,7 @@
.Nd Kernel Log Daemon .Nd Kernel Log Daemon
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl 2ndiInopsvx .Op Fl 2ndnopsvx
.Op Fl c Ar NUM .Op Fl c Ar NUM
.Op Fl f Ar FILE .Op Fl f Ar FILE
.Op Fl k Ar FILE .Op Fl k Ar FILE
@ -32,10 +32,10 @@ stderr.
.It Fl f Ar FILE .It Fl f Ar FILE
Log messages to the specified filename rather than to the syslog facility. Log messages to the specified filename rather than to the syslog facility.
.It Fl n .It Fl n
Avoid auto-backgrounding. This is needed especially if Run in foreground, required when run from a modern init/supervisor. See
.Nm your system
is started and controlled by .Xr init 1
.Xr init 8 . for details.
.It Fl o .It Fl o
Execute in one-shot mode. This causes Execute in one-shot mode. This causes
.Nm .Nm

View File

@ -595,7 +595,7 @@ int usage(int code)
{ {
fprintf(stdout, fprintf(stdout,
"Usage:\n" "Usage:\n"
" klogd [-2diInopsvx?] [-c NUM] [-f FILE] [-k FILE]\n" " klogd [-2dnopsvx?] [-c NUM] [-f FILE] [-k FILE]\n"
"\n" "\n"
"Options:\n" "Options:\n"
" -? Show this help text\n" " -? Show this help text\n"
@ -603,8 +603,6 @@ int usage(int code)
" -c NUM Set default log level of console messages to NUM (1-8)\n" " -c NUM Set default log level of console messages to NUM (1-8)\n"
" -d Enable debug mode\n" " -d Enable debug mode\n"
" -f FILE Log messages to FILE rather than the syslog facility\n" " -f FILE Log messages to FILE rather than the syslog facility\n"
" -i Signal klogd to reload kernel module symbols\n"
" -I Signal klogd to reload kernel module *and* static kernel symbols\n"
" -k FILE Location of kernel symbols (System.map), default: auto\n" " -k FILE Location of kernel symbols (System.map), default: auto\n"
" -n Run in foreground, required when run from a modern init/supervisor\n" " -n Run in foreground, required when run from a modern init/supervisor\n"
" -o Run once, read kernel log messages and syslog them, then exit\n" " -o Run once, read kernel log messages and syslog them, then exit\n"