summaryrefslogtreecommitdiff
path: root/man/xcalc.man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-05 11:13:41 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-05 11:13:41 -0800
commitd8e95b8b949970dbeeeeba73b1bc71d7f662e5cc (patch)
tree55af6b17e821c00825eaa9589a85f85816bf9469 /man/xcalc.man
parentfc6543c0f9292880180531d656e80c903e8e7dfd (diff)
Add -help option
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/xcalc.man')
-rw-r--r--man/xcalc.man12
1 files changed, 9 insertions, 3 deletions
diff --git a/man/xcalc.man b/man/xcalc.man
index e286692..cb74d9b 100644
--- a/man/xcalc.man
+++ b/man/xcalc.man
@@ -43,8 +43,11 @@
.SH NAME
xcalc \- scientific calculator for X
.SH SYNOPSIS
-.B xcalc
-[-stipple] [-rpn] [-\fItoolkitoption...\fP]
+.nf
+\fBxcalc\fP [\fB-stipple\fP] [\fB-rpn\fP] [-\fItoolkitoption...\fP]
+\fBxcalc -version\fP
+\fBxcalc -help\fP
+.fi
.SH DESCRIPTION
.I xcalc
is a scientific calculator desktop accessory that can emulate a TI-30
@@ -52,7 +55,7 @@ or an HP-10C.
.SH OPTIONS
.PP
\fIxcalc\fP accepts all of the standard toolkit command line options along
-with two additional options:
+with these additional options:
.PP
.TP 8
.B \-stipple
@@ -66,6 +69,9 @@ This option indicates that Reverse Polish Notation should be used. In this
mode the calculator will look and behave like an HP-10C. Without this flag,
it will emulate a TI-30.
.TP 8
+.B \-help
+This option indicates that \fIxcalc\fP should print its usage message and exit.
+.TP 8
.B \-version
This option indicates that \fIxcalc\fP should print its version and exit.
.SH OPERATION