diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 04:51:23 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 04:51:23 -0400 |
commit | 89c01e74e6e7ff3180105136f9f3f0a94f868dc8 (patch) | |
tree | 88078f2e607e17af8b60c72c8dc27a97215d1bcb | |
parent | 479ac0ce36279125d0d96c422221408fa1970eef (diff) | |
download | fork-ledger-89c01e74e6e7ff3180105136f9f3f0a94f868dc8.tar.gz fork-ledger-89c01e74e6e7ff3180105136f9f3f0a94f868dc8.tar.bz2 fork-ledger-89c01e74e6e7ff3180105136f9f3f0a94f868dc8.zip |
Made "stat" a synonym for the "stats" command
-rw-r--r-- | src/report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |