diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-14 00:32:44 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-14 00:32:44 -0400 |
commit | bb044f882056aac97cba6f3046370c514852f1db (patch) | |
tree | d7ab172d9f67e973f67c2d5c93fb6ef386e63ff8 /main.cc | |
parent | 42298cefd5ae0b4f25d4075dc19486f2782f69f1 (diff) | |
download | fork-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.cc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) { |