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 Tim.Graham
Recipients Tim.Graham, r.david.murray, stephan
Date 2016-09-21.15:07:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474470477.39.0.62379131715.issue28210@psf.upfronthosting.co.za>
In-reply-to
Content
Based on the usage output, it looks like the subcommand is required, but I'm not sure if there are cases where a subcommand could be optional. David, can you advise?

usage: test_argparse.py [-h] command ...
History
Date User Action Args
2016-09-21 15:07:57Tim.Grahamsetrecipients: + Tim.Graham, r.david.murray, stephan
2016-09-21 15:07:57Tim.Grahamsetmessageid: <1474470477.39.0.62379131715.issue28210@psf.upfronthosting.co.za>
2016-09-21 15:07:57Tim.Grahamlinkissue28210 messages
2016-09-21 15:07:57Tim.Grahamcreate