summaryrefslogtreecommitdiff
path: root/man/xload.man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 12:51:58 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 12:51:58 -0800
commitef450fb99630a406c4638d8ba251eac45e434411 (patch)
tree855b66183ffe9d85fd582a6f97ea7bca6fdf0fa1 /man/xload.man
parent7063169a70b6ce49de777f5daa1c256552a9e32a (diff)
Add -help and -version options
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/xload.man')
-rw-r--r--man/xload.man17
1 files changed, 12 insertions, 5 deletions
diff --git a/man/xload.man b/man/xload.man
index 358d162..89adade 100644
--- a/man/xload.man
+++ b/man/xload.man
@@ -3,11 +3,12 @@
.SH NAME
xload \- system load average display for X
.SH SYNOPSIS
-\fBxload\fP [-\fItoolkitoption\fP ...] [-scale \fIinteger\fP] [-update \fIseconds\fP]
-.br
- [-hl \fIcolor\fP] [-highlight \fIcolor\fP] [-remote \fIhost\fP]
-.br
- [-jumpscroll \fIpixels\fP] [-label \fIstring\fP] [-nolabel] [-lights]
+.nf
+\fBxload\fP [-\fItoolkitoption\fP ...] [-scale \fIinteger\fP] [-update \fIseconds\fP]
+ [-hl \fIcolor\fP] [-highlight \fIcolor\fP] [-remote \fIhost\fP]
+ [-jumpscroll \fIpixels\fP] [-label \fIstring\fP] [-nolabel] [-lights]
+ [-help|-version]
+.fi
.SH DESCRIPTION
The
.I xload
@@ -57,6 +58,12 @@ is 1 second. The default is 10.
.TP 8
.B \-remote \fIhost\fP
This option tells \fIxload\fP to display the load of \fIhost\fP instead of \fIlocalhost\fP. \fIXload\fP gets the information from the \fIrwhod\fP database and consequently requires \fIrwhod\fP to be executing both on \fIlocalhost\fP and \fIhost\fP.
+.TP 8
+.B \-help
+This option specifies that \fIxload\fP should print a usage message and exit.
+.TP 8
+.B \-version
+This option specifies that \fIxload\fP should print version info and exit.
.SH RESOURCES
In addition to the resources available to each of the widgets used by
\fIxload\fP there is one resource defined by the application itself.