aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-11-28 21:35:34 -0600
committerluigi1111 <luigi1111w@gmail.com>2020-11-28 21:35:34 -0600
commitb37d6fe36838f62276351ea45bc51b43dae8f37c (patch)
treebf5fb361488e9a9c2ed14023206dca397dea975f /src/daemon/command_server.cpp
parentMerge pull request #6747 (diff)
parentUpdate error messages in daemon (diff)
downloadmonero-b37d6fe36838f62276351ea45bc51b43dae8f37c.tar.xz
Merge pull request #6826
83da867 Update error messages in daemon (tmoravec)
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r--src/daemon/command_server.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp
index ac4c30726..dd5f76188 100644
--- a/src/daemon/command_server.cpp
+++ b/src/daemon/command_server.cpp
@@ -223,7 +223,8 @@ t_command_server::t_command_server(
m_command_lookup.set_handler(
"hard_fork_info"
, std::bind(&t_command_parser_executor::hard_fork_info, &m_parser, p::_1)
- , "Print the hard fork voting information."
+ , "hard_fork_info <version>"
+ , "Print the hard fork voting information. If given a version, prints whether is this version enabled."
);
m_command_lookup.set_handler(
"bans"
@@ -314,6 +315,7 @@ t_command_server::t_command_server(
m_command_lookup.set_handler(
"prune_blockchain"
, std::bind(&t_command_parser_executor::prune_blockchain, &m_parser, p::_1)
+ , "prune_blockchain [confirm]"
, "Prune the blockchain."
);
m_command_lookup.set_handler(