Chris Jerdonek added the comment:

> This is not satisfactory. I would prefer:
> import argparse
> argparser = argparse.ArgumentParser()
> subparsers = argparser.add_subparsers('cmd1') % name here

Have you tried passing by keyword?

subparsers = argparser.add_subparsers(dest='cmd1')

It seems to work.  I observed something similar for the metavar parameter on 
issue 14039.

> 'A...'
> Does anyone know what that notation implies?

I could be wrong, but I think this is just an arbitrary string for internal use.

----------
nosy: +chris.jerdonek

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17240>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to