Commit 151e4f21 authored by Jaromir Capik's avatar Jaromir Capik

sysctl, w: miscelaneous usage/man fixes

This commit is a result of RH man page mass scan, that failed.
All the broken/missing switches should be fixed now.
parent 33104a2b
...@@ -92,7 +92,7 @@ Load settings from all system configuration files. ...@@ -92,7 +92,7 @@ Load settings from all system configuration files.
.br .br
/etc/sysctl.conf /etc/sysctl.conf
.TP .TP
\fB\-\-pattern\fR \fIpattern\fR \fB\-r\fR, \fB\-\-pattern\fR \fIpattern\fR
Only apply settings that match Only apply settings that match
.IR pattern . .IR pattern .
The The
......
...@@ -49,7 +49,7 @@ field is shown by default. ...@@ -49,7 +49,7 @@ field is shown by default.
\fB\-\-help\fR \fB\-\-help\fR
Display help text and exit. Display help text and exit.
.TP .TP
\fB\-\-ip\-addr\fR \fB\-i\fR, \fB\-\-ip\-addr\fR
Display IP address instead of hostname for \fBfrom\fR field. Display IP address instead of hostname for \fBfrom\fR field.
.TP .TP
\fB\-V\fR, \fB\-\-version\fR \fB\-V\fR, \fB\-\-version\fR
......
...@@ -475,9 +475,10 @@ int main(int argc, char **argv) ...@@ -475,9 +475,10 @@ int main(int argc, char **argv)
static const struct option longopts[] = { static const struct option longopts[] = {
{"no-header", no_argument, NULL, 'h'}, {"no-header", no_argument, NULL, 'h'},
{"no-current", no_argument, NULL, 'u'}, {"no-current", no_argument, NULL, 'u'},
{"sort", no_argument, NULL, 's'}, {"short", no_argument, NULL, 's'},
{"from", no_argument, NULL, 'f'}, {"from", no_argument, NULL, 'f'},
{"old-style", no_argument, NULL, 'o'}, {"old-style", no_argument, NULL, 'o'},
{"ip-addr", no_argument, NULL, 'i'},
{"help", no_argument, NULL, HELP_OPTION}, {"help", no_argument, NULL, HELP_OPTION},
{"version", no_argument, NULL, 'V'}, {"version", no_argument, NULL, 'V'},
{NULL, 0, NULL, 0} {NULL, 0, NULL, 0}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment