summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-08-02 20:36:44 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-08-02 20:36:44 -0700
commit9fb46f29b241253a31158012de3689bb654802e5 (patch)
treece49f4596db7b358f9d4b731e39f0968daa5b53b
parent16abe7b771f09846e0769302bc5cc9c9ad28ce27 (diff)
downloadtxr-9fb46f29b241253a31158012de3689bb654802e5.tar.gz
txr-9fb46f29b241253a31158012de3689bb654802e5.tar.bz2
txr-9fb46f29b241253a31158012de3689bb654802e5.zip
doc: option processing fixes.
* txr.1: Wording change in introductory paragraph. Error in description of Boolean options.
-rw-r--r--txr.15
1 files changed, 3 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index a7d26791..4f04d3aa 100644
--- a/txr.1
+++ b/txr.1
@@ -50081,7 +50081,7 @@ the POSIX-style options from a list of command-line arguments.
The supported options can be defined as a list of option descriptor
objects each of which is constructed by a call to the
.code opt
-function. Each option can have a long or short name, or both,
+function. Each option can have a long name, a short name,
a type, and a description.
The
@@ -50123,7 +50123,8 @@ followed by multiple short option characters.
An option can take an argument, in which case the argument is required.
An option which takes no argument is Boolean, and a Boolean option
-never takes an argument: "takes argument" and "Boolean" are synonymous.
+never takes an argument: "takes no argument" and "Boolean" effectively
+mean the same thing.
Long options are invoked as an argument which begins with a
.code --