From cd77dd6321e4af125e51f483f5530340d0388a60 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 10 Jul 2004 23:06:07 +0000 Subject: Fix minor error in example. --- Doc/lib/liboptparse.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12