Stop displaying internal commands for --help
Displaying in-program commands with --help doesn't match daemon behaviour (or make sense)
This commit is contained in:
parent
189d516dae
commit
0198306473
|
@ -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() << 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() << 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;
|
return false;
|
||||||
}
|
}
|
||||||
else if (command_line::get_arg(vm, command_line::arg_version))
|
else if (command_line::get_arg(vm, command_line::arg_version))
|
||||||
|
|
Loading…
Reference in New Issue