diff --git a/sysctl.8 b/sysctl.8 index d57ecd1..faf2255 100644 --- a/sysctl.8 +++ b/sysctl.8 @@ -92,7 +92,7 @@ Load settings from all system configuration files. .br /etc/sysctl.conf .TP -\fB\-\-pattern\fR \fIpattern\fR +\fB\-r\fR, \fB\-\-pattern\fR \fIpattern\fR Only apply settings that match .IR pattern . The diff --git a/w.1 b/w.1 index 5b2b264..7537f1d 100644 --- a/w.1 +++ b/w.1 @@ -49,7 +49,7 @@ field is shown by default. \fB\-\-help\fR Display help text and exit. .TP -\fB\-\-ip\-addr\fR +\fB\-i\fR, \fB\-\-ip\-addr\fR Display IP address instead of hostname for \fBfrom\fR field. .TP \fB\-V\fR, \fB\-\-version\fR diff --git a/w.c b/w.c index fee9308..c80e117 100644 --- a/w.c +++ b/w.c @@ -475,9 +475,10 @@ int main(int argc, char **argv) static const struct option longopts[] = { {"no-header", no_argument, NULL, 'h'}, {"no-current", no_argument, NULL, 'u'}, - {"sort", no_argument, NULL, 's'}, + {"short", no_argument, NULL, 's'}, {"from", no_argument, NULL, 'f'}, {"old-style", no_argument, NULL, 'o'}, + {"ip-addr", no_argument, NULL, 'i'}, {"help", no_argument, NULL, HELP_OPTION}, {"version", no_argument, NULL, 'V'}, {NULL, 0, NULL, 0} diff --git a/top/top.1 b/top/top.1 index 0a753a8..bfe8ae7 100644 --- a/top/top.1 +++ b/top/top.1 @@ -359,7 +359,7 @@ A pid value of zero will be treated as the process id of the \*(We program itself once it is running. This is a \*(CO only and should you wish to return to normal operation, -it is not necessary to quit and and restart \*(We \*(Em just issue any +it is not necessary to quit and restart \*(We \*(Em just issue any of these \*(CIs: '=', 'u' or 'U'. The 'p', 'u' and 'U' \*(COs are mutually exclusive. @@ -757,7 +757,7 @@ of a second. The process group ID of the foreground process for the connected tty, or \-1 if a process is not connected to a terminal. By convention, this value equals the process ID (\*(Xa PID) of the -the process group leader (\*(Xa PGRP). +process group leader (\*(Xa PGRP). .TP 4 32.\fB TTY \*(Em Controlling Tty \fR @@ -1340,7 +1340,7 @@ no processes will be shown. Prepending an exclamation point ('!') to the user id or name instucts top to display only processes with users not matching the one provided. -Different \*(TWs can can be used to filter different users. +Different \*(TWs can be used to filter different users. Later, if you wish to monitor all users again in the \*(CW, re-issue this command but just press at the prompt.