diff options
author | Moshe Zadka <moshez@math.huji.ac.il> | 2001-04-11 07:33:08 (GMT) |
---|---|---|
committer | Moshe Zadka <moshez@math.huji.ac.il> | 2001-04-11 07:33:08 (GMT) |
commit | 2bd0d88360ebc1c2ca8346891a3b4ab62a8270d4 (patch) | |
tree | 29a0fbebe572a88c61ee9b7283ea1dacb857d3c4 /Doc/lib | |
parent | 5d6e402e0c5feb7bf60a0dd78ed1b114aca05ecb (diff) | |
download | cpython-2bd0d88360ebc1c2ca8346891a3b4ab62a8270d4.zip cpython-2bd0d88360ebc1c2ca8346891a3b4ab62a8270d4.tar.gz cpython-2bd0d88360ebc1c2ca8346891a3b4ab62a8270d4.tar.bz2 |
Fixing bug 405999 -- clarifying differences between Python's
getopt and GNU getopt -- Python is like classical UNIX getopt.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libgetopt.tex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libgetopt.tex b/Doc/lib/libgetopt.tex index 563460b..c96c3cf 100644 --- a/Doc/lib/libgetopt.tex +++ b/Doc/lib/libgetopt.tex @@ -25,6 +25,10 @@ recognize, with options that require an argument followed by a colon (\character{:}; i.e., the same format that \UNIX{} \cfunction{getopt()} uses). +\strong{Note:} Unlike GNU \cfunction{getopt()}, after a non-option +argument, all further arguments are considered also non-options. +This is similar to the way non-GNU \UNIX{} systems work. + \var{long_options}, if specified, must be a list of strings with the names of the long options which should be supported. The leading \code{'-}\code{-'} characters should not be included in the option |