Author chris.jerdonek
Recipients Thibault.Kruse, chris.jerdonek
Date 2013-02-19.18:45:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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.
Date User Action Args
2013-02-19 18:45:20chris.jerdoneksetrecipients: + chris.jerdonek, Thibault.Kruse
2013-02-19 18:45:20chris.jerdoneksetmessageid: <>
2013-02-19 18:45:20chris.jerdoneklinkissue17240 messages
2013-02-19 18:45:20chris.jerdonekcreate