diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-10-26 17:58:34 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-10-26 17:58:58 +0200 |
commit | 0821c6f6ad62bd220f0b17f8347cab99191b7a99 (patch) | |
tree | 2df4a7c5d548f644dc754f4830a6de3ed5198920 /src/daemon/command_parser_executor.cpp | |
parent | Merge pull request #444 (diff) | |
parent | daemon: add a status command (diff) | |
download | monero-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.cpp | 7 |
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; |