[issue34046] subparsers -> add_parser doesn't support hyphen char '-'

Артём Иконников report at bugs.python.org
Wed Oct 27 08:45:36 EDT 2021


Артём Иконников <tryauuum at gmail.com> added the comment:

I've also struggled with this. The subparser documentation describes them as a tool to "split up functionality into a number of sub-commands". 
>From the reader's point of view it's not obvious that such "sub-commands" cannot start with --

----------
nosy: +tryauuum

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


More information about the Python-bugs-list mailing list