diff options
| author | Riccardo Spagni <ric@spagni.net> | 2018-04-21 21:55:28 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2018-04-21 21:55:28 +0200 |
| commit | 7e98e9d7ce0766a046505f750decad2387a315ec (patch) | |
| tree | 6a2def6b3fc455edc677122f91c0d248c99400b1 /src/daemon/command_server.cpp | |
| parent | e6cf9c06fc63c6d4cbcfee5633a990e8fbd76ed1 (diff) | |
| parent | 51b511be4c584ee4e5222bd3c4f4e08f36519082 (diff) | |
| download | monzero-core-7e98e9d7ce0766a046505f750decad2387a315ec.tar.gz monzero-core-7e98e9d7ce0766a046505f750decad2387a315ec.tar.xz monzero-core-7e98e9d7ce0766a046505f750decad2387a315ec.zip | |
Merge pull request #3630
51b511be simplewallet: add version command (moneromooo-monero)
35d1269f daemon: add a version command (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_server.cpp')
| -rw-r--r-- | src/daemon/command_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index a50dbea69..144603597 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -280,6 +280,11 @@ t_command_server::t_command_server( , std::bind(&t_command_parser_executor::sync_info, &m_parser, p::_1) , "Print information about the blockchain sync state." ); + m_command_lookup.set_handler( + "version" + , std::bind(&t_command_parser_executor::version, &m_parser, p::_1) + , "Print version information." + ); } bool t_command_server::process_command_str(const std::string& cmd) |
