diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-17 13:13:02 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-17 13:15:09 +0100 |
commit | d8ee0a95c7e3a1aba2aa79173f2d55f2db6f31cd (patch) | |
tree | 0c7eb5229f6a362066df52f1655249360352f922 /src/daemon/rpc_command_executor.h | |
parent | Merge pull request #286 (diff) | |
download | monero-d8ee0a95c7e3a1aba2aa79173f2d55f2db6f31cd.tar.xz |
print limits when running limit commands with no arguments
It's more user friendly that an error message saying the command
does not exist.
Diffstat (limited to 'src/daemon/rpc_command_executor.h')
-rw-r--r-- | src/daemon/rpc_command_executor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index 43b8a9fe0..21229c577 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -99,6 +99,12 @@ public: bool print_status(); + bool get_limit(); + + bool get_limit_up(); + + bool get_limit_down(); + bool set_limit(int limit); bool set_limit_up(int limit); |