aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorNeozaru <neozaru@mailoo.org>2014-05-28 21:58:38 +0200
committerNeozaru <neozaru@mailoo.org>2014-05-28 21:58:38 +0200
commitdfc092d3a973a184142fd9d86a2301f58b02396f (patch)
tree0e8e9669fae28146a7bad7b3c5079e6283f33b2e /src/simplewallet/simplewallet.cpp
parent'mining_status' Daemon RPC command (diff)
downloadmonero-dfc092d3a973a184142fd9d86a2301f58b02396f.tar.xz
Fixed return status for '--help'. Fixed wallet name (use macro instead of 'bytecoin wallet'
Diffstat (limited to '')
-rw-r--r--src/simplewallet/simplewallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 0f84b81de..158fa1d4f 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -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);