From 5f0b25ab9a33ee994c7db6841e60609e9b5d3a77 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 13 Aug 2008 03:55:16 -0400 Subject: The -f flag now works again. --- src/session.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/session.h') diff --git a/src/session.h b/src/session.h index 36da0a53..bd948bc8 100644 --- a/src/session.h +++ b/src/session.h @@ -221,8 +221,13 @@ See LICENSE file included with the distribution for details and disclaimer.\n"; value_t option_file_(call_scope_t& args) { assert(args.size() == 1); - data_file = args[0].as_string(); - return NULL_VALUE; + // jww (2008-08-13): Add support for multiple files, but not between + // -f and LEDGER_FILE + if (data_file.empty()) { + data_file = args[0].as_string(); + use_cache = false; + } + return true; } }; -- cgit v1.2.3