diff options
Diffstat (limited to 'examples/argparse_example.py')
-rwxr-xr-x | examples/argparse_example.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/argparse_example.py b/examples/argparse_example.py index c6a17435..a387acc3 100755 --- a/examples/argparse_example.py +++ b/examples/argparse_example.py @@ -67,10 +67,7 @@ class CmdLineApp(Cmd): do_orate = do_speak # another synonym, but this one takes multi-line input - argparser = argparse.ArgumentParser( - prog='tag', - description='create a html tag', - ) + argparser = argparse.ArgumentParser(description='create a html tag') argparser.add_argument('tag', nargs=1, help='tag') argparser.add_argument('content', nargs='+', help='content to surround with tag') @with_argument_parser(argparser) |