diff options
Diffstat (limited to 'examples/argparse_example.py')
-rwxr-xr-x | examples/argparse_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/argparse_example.py b/examples/argparse_example.py index ae45411c..48adca52 100755 --- a/examples/argparse_example.py +++ b/examples/argparse_example.py @@ -64,7 +64,7 @@ class CmdLineApp(Cmd): do_say = do_speak # now "say" is a synonym for "speak" do_orate = do_speak # another synonym, but this one takes multi-line input - tag_parser = argparse.ArgumentParser(description='create a html tag') + tag_parser = argparse.ArgumentParser() tag_parser.add_argument('tag', nargs=1, help='tag') tag_parser.add_argument('content', nargs='+', help='content to surround with tag') |