mirror of https://github.com/djcb/mu.git
parent
9a1733e29d
commit
3d4805de0c
|
@ -715,10 +715,10 @@ Server::Private::help_handler(const Command& cmd)
|
|||
auto&& info_map{command_handler_.info_map()};
|
||||
|
||||
if (command.empty()) {
|
||||
std::cout << ";; Commands are s-expressions of the form\n"
|
||||
std::cout << ";; Commands are single-line s-expressions of the form\n"
|
||||
<< ";; (<command-name> :param1 val1 :param2 val2 ...)\n"
|
||||
<< ";; For instance:\n;; (help :command quit)\n"
|
||||
<< ";; to get detailed information about the 'quit'\n;;\n";
|
||||
<< ";; For instance:\n;; (help :command mkdir)\n"
|
||||
<< ";; to get detailed information about the 'mkdir' command\n;;\n";
|
||||
std::cout << ";; The following commands are available:\n\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -137,7 +137,8 @@ Mu::mu_cmd_server(const Mu::Options& opts) try {
|
|||
setup_readline(histpath, 50);
|
||||
|
||||
install_sig_handler();
|
||||
std::cout << ";; Welcome to the " << PACKAGE_STRING << " command-server\n"
|
||||
std::cout << ";; Welcome to the " << PACKAGE_STRING << " command-server"
|
||||
<< (opts.debug ? " (debug-mode)" : "") << '\n'
|
||||
<< ";; Use (help) to get a list of commands, (quit) to quit.\n";
|
||||
|
||||
bool do_quit{};
|
||||
|
|
Loading…
Reference in New Issue