From 0f6dc1289b596f4e9331bdd4bdc3f4ffe87321f0 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Mon, 15 Jan 2018 13:59:14 +0100 Subject: [PATCH] Add quit, exit and help --- lib/cli/consolecommand.cpp | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/lib/cli/consolecommand.cpp b/lib/cli/consolecommand.cpp index 9225fd6d2..735be4b67 100644 --- a/lib/cli/consolecommand.cpp +++ b/lib/cli/consolecommand.cpp @@ -132,7 +132,8 @@ void ConsoleCommand::BreakpointHandler(ScriptFrame& frame, ScriptError *ex, cons ShowCodeLocation(std::cout, di); std::cout << "You can inspect expressions (such as variables) by entering them at the prompt.\n" - << "To leave the debugger and continue the program use \"$continue\".\n"; + << "To leave the debugger and continue the program use \"$continue\".\n" + << "For further commands see \"$help\".\n"; #ifdef HAVE_EDITLINE rl_completion_entry_function = ConsoleCommand::ConsoleCompleteHelper; @@ -237,7 +238,9 @@ int ConsoleCommand::Run(const po::variables_map& vm, const std::vector