From 4f5799c216df4a1b57bc5c59f286a685b0f77448 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 8 Feb 2009 19:54:39 -0400 Subject: If a ledger file is specified in .ledgerrc, ignore the environment. --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 3b985ec6..30a54b3b 100644 --- a/src/main.cc +++ b/src/main.cc @@ -78,7 +78,7 @@ int main(int argc, char * argv[], char * envp[]) std::auto_ptr global_scope(new global_scope_t(envp)); try { - global_scope->session().now_at_command_line(true); + global_scope->session().set_flush_on_next_data_file(true); // Construct an STL-style argument list from the process command arguments strings_list args; -- cgit v1.2.3