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 paul.j3
Recipients nir_barel@bmc.com, paul.j3, tryauuum
Date 2021-10-27.16:12:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635351172.38.0.831655623317.issue34046@roundup.psfhosted.org>
In-reply-to
Content
Артём Иконников, developers and experienced users are familiar with other programs, such as 'svn' which is used as an example

svn checkout, svn update, and svn commit

Also the use of '--foo' as flagged/optional(s) argument is so familiar to developers, that it does nor occur us that new users might want to use that form here.  While there's no explicit prohibition of using the dash, non of the examples use it.  Examples are a good starting place when using new features.

If this problem came up more often, I'd recommend modifying the `add_parser` method to raise an error if the user provides a dashed command name (or alias).
History
Date User Action Args
2021-10-27 16:12:52paul.j3setrecipients: + paul.j3, nir_barel@bmc.com, tryauuum
2021-10-27 16:12:52paul.j3setmessageid: <1635351172.38.0.831655623317.issue34046@roundup.psfhosted.org>
2021-10-27 16:12:52paul.j3linkissue34046 messages
2021-10-27 16:12:52paul.j3create