From 89c01e74e6e7ff3180105136f9f3f0a94f868dc8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Feb 2009 04:51:23 -0400 Subject: [PATCH] Made "stat" a synonym for the "stats" command --- src/report.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/report.cc b/src/report.cc index 98b90272..6cfd9cd3 100644 --- a/src/report.cc +++ b/src/report.cc @@ -572,7 +572,7 @@ expr_t::ptr_op_t report_t::lookup(const string& name) break; case 's': - if (is_eq(p, "stats")) + if (is_eq(p, "stats") || is_eq(p, "stat")) return WRAP_FUNCTOR(reporter<>(new gather_statistics(*this), *this)); break; }