diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-22 03:20:24 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-22 03:20:24 -0400 |
commit | 3f899c93e655945a775eecfe81d49fff8befba11 (patch) | |
tree | e10129a17ea729379a04f95423599809b1113934 /src/predicate.cc | |
parent | 7da270129547aebd84ac0fde63b796f8add8e89a (diff) | |
download | fork-ledger-3f899c93e655945a775eecfe81d49fff8befba11.tar.gz fork-ledger-3f899c93e655945a775eecfe81d49fff8befba11.tar.bz2 fork-ledger-3f899c93e655945a775eecfe81d49fff8befba11.zip |
Added new "bold" modifier to query expressions
For example:
ledger bal assets bold checking
Or you can use expressions:
ledger bal assets bold '=total > 1000'
This last is identical to saying:
ledger bal -l 'account =~ /assets/' --bold-if='total > 1000'
Diffstat (limited to 'src/predicate.cc')
-rw-r--r-- | src/predicate.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/predicate.cc b/src/predicate.cc index 369120e6..fd301a7d 100644 --- a/src/predicate.cc +++ b/src/predicate.cc @@ -37,10 +37,4 @@ namespace ledger { -predicate_t::predicate_t(const query_t& other) - : expr_t(other), what_to_keep(other.what_to_keep) -{ - TRACE_CTOR(predicate_t, "query_t"); -} - } // namespace ledger |