diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-02 00:24:26 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-02 00:24:26 -0400 |
commit | 9540406af15d522d15c94cc3d63c77b7da7e1423 (patch) | |
tree | 6dd912aac2adb018c16a8b506bc0e18eb8444caa /src/work.cc | |
parent | ef3943c60498ab0fd4de1f1735109b0d103c167a (diff) | |
download | ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.tar.gz ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.tar.bz2 ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.zip |
Simplified error context handling.
Diffstat (limited to 'src/work.cc')
-rw-r--r-- | src/work.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/work.cc b/src/work.cc index 41f081ef..95f3dee4 100644 --- a/src/work.cc +++ b/src/work.cc @@ -101,13 +101,13 @@ void read_environment_settings(report_t& report, char * envp[]) // These are here for backwards compatability, but are deprecated. if (const char * p = std::getenv("LEDGER")) - process_option("file", report, p); + process_option("file", report, p, "LEDGER"); if (const char * p = std::getenv("LEDGER_INIT")) - process_option("init-file", report, p); + process_option("init-file", report, p, "LEDGER_INIT"); if (const char * p = std::getenv("PRICE_HIST")) - process_option("price-db", report, p); + process_option("price-db", report, p, "PRICE_HIST"); if (const char * p = std::getenv("PRICE_EXP")) - process_option("price-exp", report, p); + process_option("price-exp", report, p, "PRICE_EXP"); #endif TRACE_FINISH(environment, 1); |