[docs] [issue15125] argparse: positional arguments containing - in name not handled well

hai shi report at bugs.python.org
Thu Aug 29 13:49:45 EDT 2019


hai shi <shihai1991 at 126.com> added the comment:

How about:
1. Adding documentation as steven said.
2. If user use '-' of positional arguments in latest cpython, we cloud remind user that `the '-' of positional arguments be replaced by '_' since cpython 4.0`
3.Applying Simon Law's patch.

----------
nosy: +shihai1991

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


More information about the docs mailing list