aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-04 15:41:58 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-23 12:22:32 +0000
commit8298f42e9d9c4d81792d7ab344efbe424e9b9ba2 (patch)
tree9305abebceb9b334347a6288906f25c972bb15ae /src/daemon/command_server.cpp
parentMerge pull request #4988 (diff)
downloadmonero-8298f42e9d9c4d81792d7ab344efbe424e9b9ba2.tar.xz
miner: it can now autodetect the optimal number of threads
Diffstat (limited to '')
-rw-r--r--src/daemon/command_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp
index 96dea76b6..3e19bb42f 100644
--- a/src/daemon/command_server.cpp
+++ b/src/daemon/command_server.cpp
@@ -104,8 +104,8 @@ 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 <addr> [<threads>] [do_background_mining] [ignore_battery]"
- , "Start mining for specified address. Defaults to 1 thread and no background mining."
+ , "start_mining <addr> [<threads>|auto] [do_background_mining] [ignore_battery]"
+ , "Start mining for specified address. Defaults to 1 thread and no background mining. Use \"auto\" to autodetect optimal number of threads."
);
m_command_lookup.set_handler(
"stop_mining"