diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-08 19:54:39 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-08 19:54:39 -0400 |
commit | 4f5799c216df4a1b57bc5c59f286a685b0f77448 (patch) | |
tree | da0f9ad92191808ed4dad1c0b566276e836470bc /src/main.cc | |
parent | 455b6e27cbede32571af20f21d47817fdadfd330 (diff) | |
download | fork-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.cc | 2 |
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; |