summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-14 00:32:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-14 00:32:44 -0400
commitbb044f882056aac97cba6f3046370c514852f1db (patch)
treed7ab172d9f67e973f67c2d5c93fb6ef386e63ff8 /main.cc
parent42298cefd5ae0b4f25d4075dc19486f2782f69f1 (diff)
downloadfork-ledger-bb044f882056aac97cba6f3046370c514852f1db.tar.gz
fork-ledger-bb044f882056aac97cba6f3046370c514852f1db.tar.bz2
fork-ledger-bb044f882056aac97cba6f3046370c514852f1db.zip
fix to amount printing
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index c08b71b1..b0d6e96b 100644
--- a/main.cc
+++ b/main.cc
@@ -204,6 +204,11 @@ OPT_BEGIN(file, "f:", true) {
use_cache = false;
} OPT_END(file);
+#if 0
+OPT_BEGIN(cache, ":") {
+} OPT_END(cache);
+#endif
+
OPT_BEGIN(output, "o:", false) {
if (std::string(optarg) != "-")
output_stream.reset(new std::ofstream(optarg));
@@ -448,7 +453,7 @@ int main(int argc, char * argv[], char * envp[])
TIMER_START(read_cache);
- // jww (2004-08-13): use LEDGER_FILE
+ // jww (2004-08-13): use LEDGER_FILE and LEDGER_CACHE
use_cache = std::getenv("LEDGER") != NULL;
if (use_cache) {