From 1d5ba65f3dfc498fbbfac7e00b6e434022816eaf Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 30 Aug 2016 14:33:07 -0700 Subject: [PATCH] Fix incorrect help usage for the threads option to start_mining --- src/daemon/command_parser_executor.cpp | 2 +- src/daemon/command_server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/command_parser_executor.cpp b/src/daemon/command_parser_executor.cpp index 166fe04c..00ea6ef6 100644 --- a/src/daemon/command_parser_executor.cpp +++ b/src/daemon/command_parser_executor.cpp @@ -225,7 +225,7 @@ bool t_command_parser_executor::start_mining(const std::vector& arg { if(!args.size()) { - std::cout << "Please specify a wallet address to mine for: start_mining [threads=1]" << std::endl; + std::cout << "Please specify a wallet address to mine for: start_mining []" << std::endl; return true; } diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index aabc2f09..ce8ac44f 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -92,7 +92,7 @@ t_command_server::t_command_server( m_command_lookup.set_handler( "start_mining" , std::bind(&t_command_parser_executor::start_mining, &m_parser, p::_1) - , "Start mining for specified address, start_mining [threads=1]" + , "Start mining for specified address, start_mining [], default 1 thread" ); m_command_lookup.set_handler( "stop_mining"