This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author AnneTheAgile
Recipients AnneTheAgile, Mike.Short, Ubik, bethard, docs@python, paul.j3
Date 2015-01-19.01:31:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421631094.94.0.988901186668.issue22317@psf.upfronthosting.co.za>
In-reply-to
Content
This ticket's patch appears to have already been merged, yet it is open? 

On 2.7.9 docs [1], it has the exact language. The tutorial page [2] has a nice description as well. Finding this ticket really helped me understand argparse a bit better, and now I vote to close :).
AnneTheAgile, inspired by CodeTriage

1.[] ; ; ; ; ; ; ; ; ; ;  X.15.4. argparse — Parser for command-line options, arguments and sub-commands — Python 2.7.9 documentation
https://docs.python.org/2/library
action - The basic type of action to be taken when this argument is encountered at the command line.

2.[] ; ; ; ; ; ; ; ; ; ;  X.Argparse Tutorial — Python 2.7.9 documentation
https://docs.python.org/2/howto/argparse.html
we now specify a new keyword, action, and give it the value "store_true". This means that, if the option is specified, assign the value True to args.verbose. Not specifying it implies False.

3.[] ; ;List of all types of 'action', including customizable ; ; ; ; ; ; ; ;  X.15.4. argparse — Parser for command-line options, arguments and sub-commands — Python 2.7.9 documentation
https://docs.python.org/2/library/argparse.html#action
action="store_true"
action='store_false'
action="count"
action='store_const'
action='append'
action='version'
action=CustomFooAction
History
Date User Action Args
2015-01-19 01:31:35AnneTheAgilesetrecipients: + AnneTheAgile, bethard, docs@python, paul.j3, Mike.Short, Ubik
2015-01-19 01:31:34AnneTheAgilesetmessageid: <1421631094.94.0.988901186668.issue22317@psf.upfronthosting.co.za>
2015-01-19 01:31:34AnneTheAgilelinkissue22317 messages
2015-01-19 01:31:32AnneTheAgilecreate