Skip to content

Commit

Permalink
Fixed return status for '--help'. Fixed wallet name (use macro instea…
Browse files Browse the repository at this point in the history
…d of 'bytecoin wallet'
  • Loading branch information
Neozaru committed May 28, 2014
1 parent af5a28e commit dfc092d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simplewallet/simplewallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit dfc092d

Please sign in to comment.