summaryrefslogtreecommitdiff
path: root/man/xmessage.man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 16:11:38 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 16:19:38 -0800
commita5da3e6589d6bfcdf4ed44cab0b1fac438224b60 (patch)
tree39204d70910afd32249321e8c1867df23c3a8ce5 /man/xmessage.man
parenta221346284192af4784a1140aef9f72e72e1167f (diff)
Add -version option
Also updates -help option to not require successfully opening a display Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/xmessage.man')
-rw-r--r--man/xmessage.man13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/xmessage.man b/man/xmessage.man
index 4b6dfdc..6499d0a 100644
--- a/man/xmessage.man
+++ b/man/xmessage.man
@@ -27,6 +27,13 @@ xmessage \- display a message or query in a window (X-based /bin/echo)
]
.I message
\&.\|.\|.
+.br
+.B xmessage
+[
+.B \-help
+|
+.B \-version
+]
.SH DESCRIPTION
The
.I xmessage
@@ -101,6 +108,12 @@ Equivalent to setting the \fBnearMouse\fP resource to TRUE.
Exit with status 0 after \fIsecs\fP seconds if the user has not
clicked on a button yet.
The corresponding resource is \fBtimeout\fP.
+.TP 8
+.B \-help
+Print a usage message and exit.
+.TP 8
+.B \-version
+Print version info and exit.
.SH "WIDGET HIERARCHY"
Knowing the name and position in the hierarchy of each widget is
useful when specifying resources for them. In the following chart, the