[docs] [issue16399] argparse: append action with default list adds to list instead of overriding
report at bugs.python.org
Mon Jul 30 06:13:05 EDT 2018
Evgeny <p3gus at yandex.ru> added the comment:
You don't need action='append'.
For desired behavior you can pass action='store' with nargs='*'.
I think it's a simplest workaround.
Python tracker <report at bugs.python.org>
More information about the docs