summaryrefslogtreecommitdiffstats
path: root/Doc/lib/liboptparse.tex
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-07-10 23:06:07 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-07-10 23:06:07 (GMT)
commitcd77dd6321e4af125e51f483f5530340d0388a60 (patch)
tree446292929cd289dde5c3482cb4e6a8d3c60a6373 /Doc/lib/liboptparse.tex
parentf50299c3787757bfe5d637f5de6d4b995d6beeb0 (diff)
downloadcpython-cd77dd6321e4af125e51f483f5530340d0388a60.zip
cpython-cd77dd6321e4af125e51f483f5530340d0388a60.tar.gz
cpython-cd77dd6321e4af125e51f483f5530340d0388a60.tar.bz2
Fix minor error in example.
Diffstat (limited to 'Doc/lib/liboptparse.tex')
-rw-r--r--Doc/lib/liboptparse.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/liboptparse.tex b/Doc/lib/liboptparse.tex
index 118c2c4..e565466 100644
--- a/Doc/lib/liboptparse.tex
+++ b/Doc/lib/liboptparse.tex
@@ -606,7 +606,7 @@ def main():
action="store_false", dest="verbose")
options, args = parser.parse_args()
- if len(args) != 1:
+ if len(args) != 2:
parser.error("incorrect number of arguments")
if options.verbose: