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/session.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/session.h') diff --git a/src/session.h b/src/session.h index cb71c61b..280f8c3e 100644 --- a/src/session.h +++ b/src/session.h @@ -98,6 +98,9 @@ public: clean_accounts(); } + value_t fn_now(call_scope_t&) { + return CURRENT_TIME(); + } value_t fn_today(call_scope_t&) { return CURRENT_DATE(); } -- cgit v1.2.3