diff options
author | 2016-01-21 10:05:18 -0500 | |
---|---|---|
committer | 2016-01-21 10:11:56 -0500 | |
commit | cc75f3f75e026bc17e526577c463ab5b524ebf22 (patch) | |
tree | 4bb36e777bbed90586cfb1a4ae08b29f63f51146 /scripts/automation/trex_control_plane/client_utils | |
parent | b726b5682fca2b1e032380401457d1afb47e1713 (diff) |
phase 4
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rwxr-xr-x | scripts/automation/trex_control_plane/client_utils/parsing_opts.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/parsing_opts.py b/scripts/automation/trex_control_plane/client_utils/parsing_opts.py index 3cc32b1d..ba60c191 100755 --- a/scripts/automation/trex_control_plane/client_utils/parsing_opts.py +++ b/scripts/automation/trex_control_plane/client_utils/parsing_opts.py @@ -156,7 +156,7 @@ def decode_multiplier(val, allow_update = False, divide_count = 1): def match_multiplier(val): '''match some val against multiplier shortcut inputs ''' - result = decode_multiplier(val, allow_update = False) + result = decode_multiplier(val, allow_update = True) if not result: raise argparse.ArgumentTypeError(match_multiplier_help) @@ -165,7 +165,7 @@ def match_multiplier(val): def match_multiplier_strict(val): '''match some val against multiplier shortcut inputs ''' - result = decode_multiplier(val, allow_update = True) + result = decode_multiplier(val, allow_update = False) if not result: raise argparse.ArgumentTypeError(match_multiplier_help) @@ -252,6 +252,7 @@ OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'], 'default': False, 'help': "Starts TUI in xterm window"}), + FULL_OUTPUT: ArgumentPack(['--full'], {'action': 'store_true', 'help': "Prompt full info in a JSON format"}), |