diff options
author | John Wiegley <johnw@newartisans.com> | 2005-10-19 22:42:24 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:19 -0400 |
commit | eb0525e3157b579d45aab568e3ee06432fbaa338 (patch) | |
tree | 308ada59d939b363afd3791ef5f26406cedcebe1 /config.cc | |
parent | a53f44ecdaf9051c9e7f64993787c88d98b5348a (diff) | |
download | fork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.tar.gz fork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.tar.bz2 fork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.zip |
See ChangeLog
Diffstat (limited to 'config.cc')
-rw-r--r-- | config.cc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -36,8 +36,8 @@ config_t::config_t() "%48|%-.38A %22.108t %22.132T\n"); plot_amount_format = "%D %(St)\n"; plot_total_format = "%D %(ST)\n"; - print_format = "\n%D %Y%C%P\n %-34W %12o%n\n%/ %-34W %12o%n\n"; - write_hdr_format = "%D %Y%C%P\n"; + print_format = "\n%d %Y%C%P\n %-34W %12o%n\n%/ %-34W %12o%n\n"; + write_hdr_format = "%d %Y%C%P\n"; write_xact_format = " %-34W %12o%n\n"; equity_format = "\n%D %Y%C%P\n%/ %-34W %12t\n"; #ifndef USE_BOOST_PYTHON @@ -714,6 +714,10 @@ OPT_BEGIN(plot_amount_format, ":") { OPT_BEGIN(plot_total_format, ":") { config.plot_total_format = optarg; + +OPT_BEGIN(effective, "") { + transaction_t::use_effective_date = true; +} OPT_END(effective); } OPT_END(plot_total_format); OPT_BEGIN(print_format, ":") { |