From 4a36b8c68d24707e85a1030759ec42b1a07421e1 Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Mon, 30 Apr 2018 19:16:00 -0400 Subject: 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 --- cmd2/pyscript_bridge.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd2/pyscript_bridge.py') 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]) -- cgit v1.2.1