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

View File

@ -595,7 +595,7 @@ int usage(int code)
{
fprintf(stdout,
"Usage:\n"
" klogd [-2diInopsvx?] [-c NUM] [-f FILE] [-k FILE]\n"
" klogd [-2dnopsvx?] [-c NUM] [-f FILE] [-k FILE]\n"
"\n"
"Options:\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"
" -d Enable debug mode\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"
" -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"