Yauhen <actionless.lovel...@gmail.com> added the comment:
I am adding one more testcase in order to clarify more the problem:
import argparse
import sys
parser = argparse.ArgumentParser(prog=sys.argv[0], add_help=False)
parser.add_argument('-a', action='store_true')
parser.add_argume
Yauhen <actionless.lovel...@gmail.com> added the comment:
It was a mistake in expected result, should be:
$ python arparse_test.py -ab -c
Namespace(a=True)
['-b', '-c']
--
___
Python tracker <rep...@bugs.python.org>
<https://
New submission from Yauhen <actionless.lovel...@gmail.com>:
steps to reproduce:
import argparse
import sys
parser = argparse.ArgumentParser(prog=sys.argv[0], add_help=False)
parser.add_argument('-a', action='store_true')
parsed_args, unknow