summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/console/trex_console.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/console/trex_console.py')
-rwxr-xr-xscripts/automation/trex_control_plane/console/trex_console.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/console/trex_console.py b/scripts/automation/trex_control_plane/console/trex_console.py
index 6a4af350..c8624626 100755
--- a/scripts/automation/trex_control_plane/console/trex_console.py
+++ b/scripts/automation/trex_control_plane/console/trex_console.py
@@ -320,6 +320,10 @@ class TRexConsole(TRexGeneralCmd):
def help_history (self):
self.do_history("-h")
+ def do_shell (self, line):
+ return self.do_history(line)
+
+
def do_history (self, line):
'''Manage the command history\n'''
@@ -346,7 +350,9 @@ class TRexConsole(TRexGeneralCmd):
if cmd == None:
return
- self.onecmd(cmd)
+ print "Executing '{0}'".format(cmd)
+
+ return self.onecmd(cmd)