diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-10 15:57:34 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-10 15:57:34 -0400 |
commit | af3be5f96463bcba6ddf4cd26e2ead9d925287b1 (patch) | |
tree | 978fa8867503368a3e9072ec20fae48845328097 /src/report.cc | |
parent | bedadd03a0a8ec4b84751104139cc49bede72cbe (diff) | |
download | fork-ledger-af3be5f96463bcba6ddf4cd26e2ead9d925287b1.tar.gz fork-ledger-af3be5f96463bcba6ddf4cd26e2ead9d925287b1.tar.bz2 fork-ledger-af3be5f96463bcba6ddf4cd26e2ead9d925287b1.zip |
Wrote the beginnings of a new "stats" command.
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc index 9dea33db..97d7ba0c 100644 --- a/src/report.cc +++ b/src/report.cc @@ -543,6 +543,11 @@ expr_t::ptr_op_t report_t::lookup(const string& name) (reporter<>(new format_xacts(*this, HANDLER(register_format_).str()), *this)); break; + + case 's': + if (is_eq(p, "stats")) + return WRAP_FUNCTOR(reporter<>(new gather_statistics(*this), *this)); + break; } } break; |