summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-21 03:44:34 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-21 03:44:34 -0600
commit36922c5945290f43a3517fb2f5f155b287b9b565 (patch)
tree63810891d4375bb1f2175123a2d460a7f6280f80 /src/main.cc
parent697d097594c158c595910e7f56bf09bdb894abf8 (diff)
downloadfork-ledger-36922c5945290f43a3517fb2f5f155b287b9b565.tar.gz
fork-ledger-36922c5945290f43a3517fb2f5f155b287b9b565.tar.bz2
fork-ledger-36922c5945290f43a3517fb2f5f155b287b9b565.zip
Whitespace fixes
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.cc b/src/main.cc
index 820f920d..9031341f 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -86,7 +86,6 @@ int main(int argc, char * argv[], char * envp[])
// Create the session object, which maintains nearly all state relating to
// this invocation of Ledger; and register all known journal parsers.
global_scope.reset(new global_scope_t(envp));
-
global_scope->session().set_flush_on_next_data_file(true);
// Construct an STL-style argument list from the process command arguments
@@ -96,7 +95,6 @@ int main(int argc, char * argv[], char * envp[])
// Look for options and a command verb in the command-line arguments
bind_scope_t bound_scope(*global_scope.get(), global_scope->report());
-
args = global_scope->read_command_arguments(bound_scope, args);
if (global_scope->HANDLED(script_)) {
@@ -112,8 +110,8 @@ int main(int argc, char * argv[], char * envp[])
char * p = skip_ws(line);
if (*p && *p != '#')
- status = global_scope->execute_command_wrapper(split_arguments(p),
- true);
+ status =
+ global_scope->execute_command_wrapper(split_arguments(p), true);
}
}
else if (! args.empty()) {