diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-07 12:46:46 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-07 12:46:46 -0600 |
commit | 7e250696e02e0392bc865f66570da296ced124ab (patch) | |
tree | 8195a38ca7c6e04610f2ca3cecea900ff08f66de /src/global.h | |
parent | 77292ac3cda2f1052559991b9d53f1ad7c1fec9a (diff) | |
download | fork-ledger-7e250696e02e0392bc865f66570da296ced124ab.tar.gz fork-ledger-7e250696e02e0392bc865f66570da296ced124ab.tar.bz2 fork-ledger-7e250696e02e0392bc865f66570da296ced124ab.zip |
Many options now have additive effect
For example, -A and -V used to override each other, whereas now:
-A report the average amount
-V report all amounts at current value
-AV report the current value of the average
-VA report the average of all current values
Diffstat (limited to 'src/global.h')
-rw-r--r-- | src/global.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h index ce0534b0..7429b1f5 100644 --- a/src/global.h +++ b/src/global.h @@ -50,6 +50,7 @@ class global_scope_t : public noncopyable, public scope_t { shared_ptr<session_t> session_ptr; ptr_list<report_t> report_stack; + empty_scope_t empty_scope; public: global_scope_t(char ** envp); |