From 4b261f99bc56853b3468a8a1bb5b4af39ed67af5 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Thu, 25 Oct 2012 10:39:48 -0700 Subject: Fixes Bug 695, ledger ignores --init-file Handle --init-file as a special command option like the debug options. That wway we can have the argument captured before teh global scope is created. --- src/main.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index a1ac0339..124efb5e 100644 --- a/src/main.cc +++ b/src/main.cc @@ -59,6 +59,7 @@ int main(int argc, char * argv[], char * envp[]) // --debug CATEGORY ; turns on debug logging // --trace LEVEL ; turns on trace logging // --memory ; turns on memory usage tracing + // --init-file ; directs ledger to use a different init file handle_debug_options(argc, argv); #if VERIFY_ON IF_VERIFY() initialize_memory_tracing(); -- cgit v1.2.3