summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-08 19:54:39 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-08 19:54:39 -0400
commit4f5799c216df4a1b57bc5c59f286a685b0f77448 (patch)
treeda0f9ad92191808ed4dad1c0b566276e836470bc /src/main.cc
parent455b6e27cbede32571af20f21d47817fdadfd330 (diff)
downloadfork-ledger-4f5799c216df4a1b57bc5c59f286a685b0f77448.tar.gz
fork-ledger-4f5799c216df4a1b57bc5c59f286a685b0f77448.tar.bz2
fork-ledger-4f5799c216df4a1b57bc5c59f286a685b0f77448.zip
If a ledger file is specified in .ledgerrc, ignore the environment.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
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_t> 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;