Message208659
| 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:07 | Martin.d'Anjou | set | recipients:
+ 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:07 | Martin.d'Anjou | set | messageid: <1390319947.6.0.397055766653.issue9694@psf.upfronthosting.co.za> |
| 2014年01月21日 15:59:07 | Martin.d'Anjou | link | issue9694 messages |
| 2014年01月21日 15:59:07 | Martin.d'Anjou | create |
|