From bb044f882056aac97cba6f3046370c514852f1db Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 14 Aug 2004 00:32:44 -0400 Subject: fix to amount printing --- main.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main.cc') 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) { -- cgit v1.2.3