Improve console help text

Split continue and quit/exit commands
This commit is contained in:
Jean Flach 2018-01-15 15:31:53 +01:00 committed by GitHub
parent 74ae67d3b6
commit e6412bf741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -390,8 +390,9 @@ incomplete:
else if (line == "$help")
std::cout << "Welcome to the Icinga 2 debug console.\n"
"Usable commands:\n"
" $continue, $quit, $exit Quit the console\n"
" $help Print this help\n\n"
" $continue Continue running Icinga 2 (script debugger).\n"
" $quit, $exit Stop debugging and quit the console.\n"
" $help Print this help.\n\n"
"For more information on how to use this console, please consult the documentation at https://icinga.com/docs\n";
else
std::cout << "Unknown debugger command: " << line << "\n";