diff options
| author | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:34:45 -0800 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:34:45 -0800 |
| commit | 92826e3d8b6b4aed5db67ec28f2d7821a6cf201d (patch) | |
| tree | 1bd82ce226d4cd2e0e15af575a515387b99e5e90 /src/simplewallet/simplewallet.cpp | |
| parent | f077bbb4f177bdd4244322e2486eb8d610b57b02 (diff) | |
| parent | 619bb7233b6c4bb3cb91fb0b6a8757d6a19d8d03 (diff) | |
| download | monzero-core-92826e3d8b6b4aed5db67ec28f2d7821a6cf201d.tar.gz monzero-core-92826e3d8b6b4aed5db67ec28f2d7821a6cf201d.tar.xz monzero-core-92826e3d8b6b4aed5db67ec28f2d7821a6cf201d.zip | |
Merge pull request #3011
619bb723 daemon+simplewallet: given an unknown command, show it (stoffu)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
| -rw-r--r-- | src/simplewallet/simplewallet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index cca2b3970..ef4841523 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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(); } |
