mirror of
https://github.com/monero-project/monero.git
synced 2026-01-17 23:25:46 -08:00
Merge pull request #3011
619bb723 daemon+simplewallet: given an unknown command, show it (stoffu)
This commit is contained in:
@@ -6624,7 +6624,8 @@ int main(int argc, char* argv[])
|
||||
std::vector<std::string> command = command_line::get_arg(*vm, arg_command);
|
||||
if (!command.empty())
|
||||
{
|
||||
w.process_command(command);
|
||||
if (!w.process_command(command))
|
||||
fail_msg_writer() << tr("Unknown command: ") << command.front();
|
||||
w.stop();
|
||||
w.deinit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user