[issue28210] argparse with subcommands difference in python 2.7 / 3.5

Tim Graham report at bugs.python.org
Wed Sep 21 11:07:57 EDT 2016


Tim Graham added the comment:

Based on the usage output, it looks like the subcommand is required, but I'm not sure if there are cases where a subcommand could be optional. David, can you advise?

usage: test_argparse.py [-h] command ...

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28210>
_______________________________________


More information about the Python-bugs-list mailing list