Made "stat" a synonym for the "stats" command

This commit is contained in:
John Wiegley 2009-02-16 04:51:23 -04:00
parent 479ac0ce36
commit 89c01e74e6

View file

@ -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;
}