mirror of https://github.com/python/cpython
Fix minor error in example.
This commit is contained in:
parent
f50299c378
commit
cd77dd6321
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue