print limits when running limit commands with no arguments

It's more user friendly that an error message saying the command
does not exist.
This commit is contained in:
moneromooo-monero 2015-05-17 13:13:02 +01:00
parent 2dc1cd9ae6
commit d8ee0a95c7
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
5 changed files with 60 additions and 3 deletions

View file

@ -119,6 +119,8 @@ class connection_basic { // not-templated base class for rapid developmet of som
static void set_rate_up_limit(uint64_t limit);
static void set_rate_down_limit(uint64_t limit);
static uint64_t get_rate_up_limit();
static uint64_t get_rate_down_limit();
// config misc
static void set_tos_flag(int tos); // ToS / QoS flag