diff options
author | luigi1111 <cmiller18219@gmail.com> | 2015-12-11 18:41:36 -0600 |
---|---|---|
committer | luigi1111 <cmiller18219@gmail.com> | 2015-12-11 18:41:36 -0600 |
commit | 01983064730f0e3fd94c84e0c2d35c0795d673fe (patch) | |
tree | d137cc9f0e487d0f33a9a1df8aec2aa863c8042d | |
parent | simplewallet help & error cleanup (diff) | |
download | monero-01983064730f0e3fd94c84e0c2d35c0795d673fe.tar.xz |
Stop displaying internal commands for --help
Displaying in-program commands with --help doesn't match daemon
behaviour (or make sense)
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 2703500f9..d1ff09170 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -2456,7 +2456,7 @@ int main(int argc, char* argv[]) { success_msg_writer() << CRYPTONOTE_NAME << " " << sw::tr("wallet") << " v" << MONERO_VERSION_FULL; success_msg_writer() << sw::tr("Usage:") << " simplewallet [--wallet-file=<file>|--generate-new-wallet=<file>] [--daemon-address=<host>:<port>] [<COMMAND>]"; - success_msg_writer() << desc_all << '\n' << w.get_commands_str(); + success_msg_writer() << desc_all; return false; } else if (command_line::get_arg(vm, command_line::arg_version)) |