summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 02:53:54 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 02:53:54 -0400
commitc1b25fcf8629eca326fe6dd586e4896eeb5f2d45 (patch)
treef7c59ce215ee66513db2f9eb142cdf9e7095c465 /src/report.h
parentf2f52066d2a9c82619ffea0f3972e48417a90b5b (diff)
downloadfork-ledger-c1b25fcf8629eca326fe6dd586e4896eeb5f2d45.tar.gz
fork-ledger-c1b25fcf8629eca326fe6dd586e4896eeb5f2d45.tar.bz2
fork-ledger-c1b25fcf8629eca326fe6dd586e4896eeb5f2d45.zip
Rewrote the equity command, which is working again
The old implementation used an account formatter, and was very specialized. The new is done as a transaction filter, and works along with everything else, eliminating bugs special to the equity report.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/report.h b/src/report.h
index 0e66ec75..47a073d1 100644
--- a/src/report.h
+++ b/src/report.h
@@ -354,10 +354,7 @@ public:
#endif
});
- OPTION__(report_t, equity_format_, CTOR(report_t, equity_format_) {
- on("\n%D %Y%C%P\n%/ %-34W %12t\n");
- });
-
+ OPTION(report_t, equity);
OPTION(report_t, flat);
OPTION(report_t, forecast_);
OPTION(report_t, format_); // -F