From e124811d8a31292c06430815683b2e0fe87f7ceb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 22 Feb 2009 04:43:34 -0400 Subject: Added --exchange (-x) option This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD --- src/balance.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/balance.h') diff --git a/src/balance.h b/src/balance.h index 996132e6..e4f54696 100644 --- a/src/balance.h +++ b/src/balance.h @@ -353,8 +353,10 @@ public: return *this = temp; } - optional value(const optional& moment = none, - const optional& in_terms_of = none) const; + optional + value(const bool primary_only = false, + const optional& moment = none, + const optional& in_terms_of = none) const; /** * Truth tests. An balance may be truth test in two ways: -- cgit v1.2.3