aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-25 13:00:40 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-25 13:00:40 -0400
commitc117cb2e180de367ced708e36c30e0eb73d77482 (patch)
tree4943f7bfa23342ee9f319d7b863312f85ee78ac3
parentc88ead9fbb54b15c785e930e1aa245c6c3a03561 (diff)
downloadbw-atari8-tools-c117cb2e180de367ced708e36c30e0eb73d77482.tar.gz
unprotbas: add --help and --version to doc.
-rw-r--r--unprotbas.16
-rw-r--r--unprotbas.rst6
2 files changed, 12 insertions, 0 deletions
diff --git a/unprotbas.1 b/unprotbas.1
index 2727592..33afa02 100644
--- a/unprotbas.1
+++ b/unprotbas.1
@@ -93,6 +93,12 @@ an invalid (0) next\-line pointer on the last line of code. \fB\-pv\fP
replaces the variable names with the Atari EOL character (\fB$9B\fP).
\fB\-p\fP does both. None of the other options except \fB\-v\fP (verbose)
can be used with these.
+.TP
+.B \fB\-\-help\fP
+Print usage message and exit.
+.TP
+.B \fB\-\-version\fP
+Print version number and exit.
.UNINDENT
.SH EXIT STATUS
.INDENT 0.0
diff --git a/unprotbas.rst b/unprotbas.rst
index 39a051b..c8584e8 100644
--- a/unprotbas.rst
+++ b/unprotbas.rst
@@ -76,6 +76,12 @@ will be treated as options.
**-p** does both. None of the other options except **-v** (verbose)
can be used with these.
+**--help**
+ Print usage message and exit.
+
+**--version**
+ Print version number and exit.
+
EXIT STATUS
===========