diff options
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -68,8 +68,10 @@ int parse_and_report(int argc, char * argv[], char * envp[]) config.process_option("file", p); if (const char * p = std::getenv("LEDGER_INIT")) config.process_option("init-file", p); +#if 0 if (const char * p = std::getenv("PRICE_HIST")) config.process_option("price-db", p); +#endif if (const char * p = std::getenv("PRICE_EXP")) config.process_option("price-exp", p); #endif @@ -128,7 +130,7 @@ int parse_and_report(int argc, char * argv[], char * envp[]) TIMER_START(parse); - if (parse_ledger_data(journal.get(), config) == 0) + if (parse_ledger_data(config, journal.get()) == 0) throw error("Please specify ledger file using -f" " or LEDGER_FILE environment variable."); |