]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More docs on stats memory
authorAlan T. DeKok <aland@freeradius.org>
Tue, 9 Jun 2015 15:03:52 +0000 (11:03 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 9 Jun 2015 15:03:52 +0000 (11:03 -0400)
src/main/command.c

index e8f0ce91460da7c91f8f9367eecae96eae816041..491232a1fd562bee503951a3d359255c4f294ccd 100644 (file)
@@ -2204,7 +2204,7 @@ static int command_stats_memory(rad_listen_t *listener, int argc, char *argv[])
        }
 
 fail:
-       cprintf_error(listener, "Must use 'stats memory full' or 'stats memory total'\n");
+       cprintf_error(listener, "Must use 'stats memory [blocks|full|total]'\n");
        return CMD_FAIL;
 }
 #endif
@@ -2574,7 +2574,7 @@ static fr_command_table_t command_table_stats[] = {
 
 #ifndef NDEBUG
        { "memory", FR_READ,
-         "stats memory - show statistics on used memory",
+         "stats memory [blocks|full|total] - show statistics on used memory",
          command_stats_memory, NULL },
 #endif