diff options
author | 2015-10-14 03:01:29 +0300 | |
---|---|---|
committer | 2015-10-14 03:01:29 +0300 | |
commit | 4c797902441d1c61fc9012f56ecf95e17cb26110 (patch) | |
tree | 48537cff3a0c1f7ff84dec486c693de71034bcfe /scripts/automation/trex_control_plane/console/trex_console.py | |
parent | 7482f09b8a5e8945e8b735233ad8f1674e637aef (diff) | |
parent | b18e8dc6f2aba20767304334380a9b1561379541 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'scripts/automation/trex_control_plane/console/trex_console.py')
-rw-r--r-- | scripts/automation/trex_control_plane/console/trex_console.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/console/trex_console.py b/scripts/automation/trex_control_plane/console/trex_console.py index 3aeab901..9478db5a 100644 --- a/scripts/automation/trex_control_plane/console/trex_console.py +++ b/scripts/automation/trex_control_plane/console/trex_console.py @@ -326,11 +326,11 @@ class TrexConsole(cmd.Cmd): def setParserOptions (): parser = argparse.ArgumentParser(prog="trex_console.py") - parser.add_argument("-s", "--server", help = "T-Rex Server [default is localhost]", + parser.add_argument("-s", "--server", help = "TRex Server [default is localhost]", default = "localhost", type = str) - parser.add_argument("-p", "--port", help = "T-Rex Server Port [default is 5050]\n", + parser.add_argument("-p", "--port", help = "TRex Server Port [default is 5050]\n", default = 5050, type = int) |