Fixed return status for '--help'. Fixed wallet name (use macro instead of 'bytecoin wallet'
This commit is contained in:
parent
af5a28efe5
commit
dfc092d3a9
1 changed files with 2 additions and 2 deletions
|
@ -944,7 +944,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
if (command_line::get_arg(vm, command_line::arg_help))
|
||||
{
|
||||
success_msg_writer() << "bytecoin wallet v" << PROJECT_VERSION_LONG;
|
||||
success_msg_writer() << CRYPTONOTE_NAME << " wallet v" << PROJECT_VERSION_LONG;
|
||||
success_msg_writer() << "Usage: simplewallet [--wallet-file=<file>|--generate-new-wallet=<file>] [--daemon-address=<host>:<port>] [<COMMAND>]";
|
||||
success_msg_writer() << desc_all << '\n' << w.get_commands_str();
|
||||
return false;
|
||||
|
@ -961,7 +961,7 @@ int main(int argc, char* argv[])
|
|||
return true;
|
||||
});
|
||||
if (!r)
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
//set up logging options
|
||||
log_space::get_set_log_detalisation_level(true, LOG_LEVEL_2);
|
||||
|
|
Loading…
Reference in a new issue