chiark / gitweb /
logstats control command
[innduct.git] / cli.c
diff --git a/cli.c b/cli.c
index abb84a948aa0837d9c46063c377c48ac1d3a0802..b03f37065c799d175edfc627d95e0a85f92a5764 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -100,6 +100,8 @@ CCMD(stop) {
   abort();
 }
 
+CCMD(logstats) { showstats(); }
+
 CCMD(dump);
 
 /* messing with our head: */
@@ -112,6 +114,7 @@ static const CliCommand cli_commands[]= {
   { "h",             ccmd_help      },
   { "flush",         ccmd_flush     },
   { "stop",          ccmd_stop      },
+  { "logstats",      ccmd_logstats  },
   { "dump q",        ccmd_dump, 0,0 },
   { "dump a",        ccmd_dump, 0,1 },