summaryrefslogtreecommitdiff
path: root/doc/option_parsing.rst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2025-03-16 12:48:45 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2025-03-16 12:48:45 +0100
commitcec79a3f5578da4a9f9085282389482edf45c81b (patch)
tree5c45f5efee77f9f8d84c3a1c7e02b12b6725a2e3 /doc/option_parsing.rst
parent677e5b0b948fe62d8017c198c57049275f6fe61a (diff)
New upstream version 4.26upstream/4.26upstream
Diffstat (limited to 'doc/option_parsing.rst')
-rw-r--r--doc/option_parsing.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/option_parsing.rst b/doc/option_parsing.rst
index 2dced82..fa928e0 100644
--- a/doc/option_parsing.rst
+++ b/doc/option_parsing.rst
@@ -12,7 +12,8 @@ Characteristics:
* recognition of the double dash as option list terminator
* offers POSIX strictness where the option list terminates at the first
non-option argument
-* option passthrough
+* option passthrough (conceptuall only works for options taking no argument,
+ or when the argument is joined to a long option with a '=')
* the parse function is one-shot; there is no context object (like popt),
no global state (like getopt) and no ``while`` loop (either of the two others)
* exclusively uses an option table