summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-09 10:07:40 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:55 -0400
commitf3c736006c72cefaad52981420e3aabf88b271db (patch)
tree7afdd8c9692902de842a2c1caaea7a2b04d87763 /config.cc
parent193a801c03f27d5888d6e7347c18fbc925b72f1d (diff)
downloadfork-ledger-f3c736006c72cefaad52981420e3aabf88b271db.tar.gz
fork-ledger-f3c736006c72cefaad52981420e3aabf88b271db.tar.bz2
fork-ledger-f3c736006c72cefaad52981420e3aabf88b271db.zip
*** empty log message ***
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.cc b/config.cc
index fdee03e5..8bdbc4e1 100644
--- a/config.cc
+++ b/config.cc
@@ -44,6 +44,7 @@ config_t::config_t()
prices_format = ("%[%Y/%m/%d %H:%M:%S %Z] %-8A "
"%10t %10(@vmin(t)) %10(@vmax(t)) %12T\n");
#endif
+ pricesdb_format = "P %[%Y/%m/%d %H:%M:%S] %A %t\n";
show_collapsed = false;
show_subtotal = false;
@@ -981,6 +982,7 @@ void export_config()
.def_readwrite("write_xact_format", &config_t::write_xact_format)
.def_readwrite("equity_format", &config_t::equity_format)
.def_readwrite("prices_format", &config_t::prices_format)
+ .def_readwrite("pricesdb_format", &config_t::pricesdb_format)
.def_readwrite("date_format", &config_t::date_format)
.def_readwrite("sort_string", &config_t::sort_string)
.def_readwrite("amount_expr", &config_t::amount_expr)