summaryrefslogtreecommitdiff
path: root/examples/argparse_example.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/argparse_example.py')
-rwxr-xr-xexamples/argparse_example.py5
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)