[issue42547] argparse: add_argument(... nargs='+', metavar=) does not work with positional arguments
Change by Mikhail Khvoinitsky : -- keywords: +patch pull_requests: +22485 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23617 ___ Python tracker <https://bugs.python.org/issu
[issue42547] argparse: add_argument(... nargs='+', metavar=) does not work with positional arguments
New submission from Mikhail Khvoinitsky : Example which works: parser.add_argument('--test', nargs='+', metavar=('TEST', 'TEST2')) Example which doesn't work: parser.add_argument('test', nargs='+', metavar=(