[issue45224] Argparse shows required arguments as optional

Khalid Mammadov report at bugs.python.org
Thu Sep 16 12:26:50 EDT 2021


New submission from Khalid Mammadov <khalidmammadov9 at gmail.com>:

Currently argparse module shows all optional arguments under "optional arguments" section of the help.
It also includes those flags/arguments that are required as well. 
This add confusion to a user and does not properly show intention

----------
components: Library (Lib)
messages: 401969
nosy: khalidmammadov
priority: normal
severity: normal
status: open
title: Argparse shows required arguments as optional
type: behavior
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45224>
_______________________________________


More information about the Python-bugs-list mailing list