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 Martin.d'Anjou
Recipients Martin.d'Anjou, benschmaus, bethard, docs@python, eric.araujo, eric.smith, mburger, paul.j3, r.david.murray, terry.reedy, tshepang
Date 2014-01-21.15:59:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390319947.6.0.397055766653.issue9694@psf.upfronthosting.co.za>
In-reply-to
Content
How about calling required arguments "required arguments"?

required arguments:
  --reqarg REQARG, -r REQARG
                        This is required
optional arguments:
  -h, --help            show this help message and exit
  --optarg OPTARG, -o OPTARG
                        This is optional

Clear and unambiguous. With this approach the user does not have to bloat the help to state "This is required".

We're having the same discussion over at github regarding argparse4j:
https://github.com/tatsuhiro-t/argparse4j/issues/26#issuecomment-32894297
History
Date User Action Args
2014-01-21 15:59:07Martin.d'Anjousetrecipients: + Martin.d'Anjou, terry.reedy, bethard, eric.smith, eric.araujo, r.david.murray, docs@python, benschmaus, tshepang, paul.j3, mburger
2014-01-21 15:59:07Martin.d'Anjousetmessageid: <1390319947.6.0.397055766653.issue9694@psf.upfronthosting.co.za>
2014-01-21 15:59:07Martin.d'Anjoulinkissue9694 messages
2014-01-21 15:59:07Martin.d'Anjoucreate