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 khalidmammadov
Recipients khalidmammadov, rhettinger
Date 2021-09-16.20:15:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631823346.02.0.420148296811.issue45224@roundup.psfhosted.org>
In-reply-to
Content
May I suggest to change it again so we two sections: required and optional? This can help to be more clear from usage perspective. I have changed it locally and it looks like below:

usage: myprogram.py [-h] [--foo FOO] --bar BAR

required arguments:
  --bar BAR   foo help

optional arguments:
  -h, --help  show this help message and exit
  --foo FOO   foo help
History
Date User Action Args
2021-09-16 20:15:46khalidmammadovsetrecipients: + khalidmammadov, rhettinger
2021-09-16 20:15:46khalidmammadovsetmessageid: <1631823346.02.0.420148296811.issue45224@roundup.psfhosted.org>
2021-09-16 20:15:46khalidmammadovlinkissue45224 messages
2021-09-16 20:15:45khalidmammadovcreate