Martin d'Anjou added the comment:

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

----------
nosy: +Martin.d'Anjou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9694>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to