summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-02 00:24:26 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-02 00:24:26 -0400
commit9540406af15d522d15c94cc3d63c77b7da7e1423 (patch)
tree6dd912aac2adb018c16a8b506bc0e18eb8444caa /src/report.h
parentef3943c60498ab0fd4de1f1735109b0d103c167a (diff)
downloadledger-9540406af15d522d15c94cc3d63c77b7da7e1423.tar.gz
ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.tar.bz2
ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.zip
Simplified error context handling.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index 5323e352..54f24845 100644
--- a/src/report.h
+++ b/src/report.h
@@ -149,6 +149,8 @@ public:
bool entry_sort;
bool sort_all;
bool anonymize;
+ bool use_effective_date;
+
string account;
optional<path> pager_path;
@@ -184,6 +186,7 @@ public:
entry_sort(false),
sort_all(false),
anonymize(false),
+ use_effective_date(false),
raw_mode(false),
@@ -274,7 +277,7 @@ public:
// Report filtering
value_t option_effective(call_scope_t& args) {
- xact_t::use_effective_date = true;
+ use_effective_date = true;
}
#endif