diff options
author | Eric Lin <anselor@gmail.com> | 2018-04-30 19:16:00 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-04-30 19:16:00 -0400 |
commit | 4a36b8c68d24707e85a1030759ec42b1a07421e1 (patch) | |
tree | 10e85a6aa5c8da383b6d1d88748e25b19dcbeefe /cmd2/pyscript_bridge.py | |
parent | e5699bc65b20b1428e3c8db5cf3f8b5d8bf41569 (diff) | |
download | cmd2-git-4a36b8c68d24707e85a1030759ec42b1a07421e1.tar.gz |
Further customization of argparse applying patch submitted to https://bugs.python.org/issue15112
Added additional tests - now at 100% coverage of pyscript_bridge.py
Still need handling of special action types: StoreTrue/False, store_const, count
Diffstat (limited to 'cmd2/pyscript_bridge.py')
-rw-r--r-- | cmd2/pyscript_bridge.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/pyscript_bridge.py b/cmd2/pyscript_bridge.py index 0691b9c6..3eda02f0 100644 --- a/cmd2/pyscript_bridge.py +++ b/cmd2/pyscript_bridge.py @@ -114,6 +114,7 @@ class ArgparseFunctor: process_flag(action, values) else: process_flag(action, self._args[action.dest]) + # TODO: StoreTrue/StoreFalse else: process_flag(action, self._args[action.dest]) |