aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-10-26 17:58:34 +0200
committerRiccardo Spagni <ric@spagni.net>2015-10-26 17:58:58 +0200
commit0821c6f6ad62bd220f0b17f8347cab99191b7a99 (patch)
tree2df4a7c5d548f644dc754f4830a6de3ed5198920 /src/daemon/command_parser_executor.cpp
parentMerge pull request #444 (diff)
parentdaemon: add a status command (diff)
downloadmonero-0821c6f6ad62bd220f0b17f8347cab99191b7a99.tar.xz
Merge pull request #446
9caf52b daemon: add a status command (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--src/daemon/command_parser_executor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/command_parser_executor.cpp b/src/daemon/command_parser_executor.cpp
index 7b0f4a66b..51e3231e5 100644
--- a/src/daemon/command_parser_executor.cpp
+++ b/src/daemon/command_parser_executor.cpp
@@ -75,6 +75,13 @@ bool t_command_parser_executor::show_difficulty(const std::vector<std::string>&
return m_executor.show_difficulty();
}
+bool t_command_parser_executor::show_status(const std::vector<std::string>& args)
+{
+ if (!args.empty()) return false;
+
+ return m_executor.show_status();
+}
+
bool t_command_parser_executor::print_connections(const std::vector<std::string>& args)
{
if (!args.empty()) return false;