mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
Fix incorrect help usage for the threads option to start_mining
This commit is contained in:
parent
c3ba844f03
commit
1d5ba65f3d
2 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ bool t_command_parser_executor::start_mining(const std::vector<std::string>& arg
|
||||||
{
|
{
|
||||||
if(!args.size())
|
if(!args.size())
|
||||||
{
|
{
|
||||||
std::cout << "Please specify a wallet address to mine for: start_mining <addr> [threads=1]" << std::endl;
|
std::cout << "Please specify a wallet address to mine for: start_mining <addr> [<threads>]" << std::endl;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ t_command_server::t_command_server(
|
||||||
m_command_lookup.set_handler(
|
m_command_lookup.set_handler(
|
||||||
"start_mining"
|
"start_mining"
|
||||||
, std::bind(&t_command_parser_executor::start_mining, &m_parser, p::_1)
|
, std::bind(&t_command_parser_executor::start_mining, &m_parser, p::_1)
|
||||||
, "Start mining for specified address, start_mining <addr> [threads=1]"
|
, "Start mining for specified address, start_mining <addr> [<threads>], default 1 thread"
|
||||||
);
|
);
|
||||||
m_command_lookup.set_handler(
|
m_command_lookup.set_handler(
|
||||||
"stop_mining"
|
"stop_mining"
|
||||||
|
|
Loading…
Reference in a new issue