From 9d6d68efc11ba57940bc41fc1d5a8f422bdb4abd Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Thu, 23 May 2019 12:38:14 -0700 Subject: [PATCH] few more CLI tweaks --- tools/ugv_cmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ugv_cmd.py b/tools/ugv_cmd.py index 33beb48..c210ad8 100755 --- a/tools/ugv_cmd.py +++ b/tools/ugv_cmd.py @@ -65,7 +65,7 @@ class UGV_CLI: print("{}: {}".format(names, cmd.description)) print() - @cli_cmd(names=["exit", "q"], description="Quit the program") + @cli_cmd(names=["exit", "q", "C-d", "C-c"], description="Quit the program") def exit(self): self.is_running = False @@ -149,6 +149,7 @@ class UGV_CLI: time.sleep(0.2) last_line = None try: + print("Run 'help' to find out what commands are available") while self.is_running: line = input("UGV> ") if len(line) is 0 and last_line is not None: