From cc75f3f75e026bc17e526577c463ab5b524ebf22 Mon Sep 17 00:00:00 2001 From: imarom Date: Thu, 21 Jan 2016 10:05:18 -0500 Subject: phase 4 --- scripts/automation/trex_control_plane/client_utils/parsing_opts.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/automation/trex_control_plane/client_utils') 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"}), -- cgit 1.2.3-korg