summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-01-29 09:42:10 -0700
committerCraig Earls <enderw88@gmail.com>2013-01-29 09:42:10 -0700
commit3e72a51dc3d296c9f647efaf4cbfbbdcf4bf6df1 (patch)
tree2d83e5a8d6a864ada5d9a948d322ca5254fe5e6d /src/report.h
parent5d1971ee51a18f927185d20fb0a4426d8f08aa86 (diff)
downloadfork-ledger-3e72a51dc3d296c9f647efaf4cbfbbdcf4bf6df1.tar.gz
fork-ledger-3e72a51dc3d296c9f647efaf4cbfbbdcf4bf6df1.tar.bz2
fork-ledger-3e72a51dc3d296c9f647efaf4cbfbbdcf4bf6df1.zip
Addes tags command and --values option
Tags command reports all metadat tags in use. With the values option it reports tags and their values.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h
index 2eac61fe..b0044f60 100644
--- a/src/report.h
+++ b/src/report.h
@@ -358,6 +358,7 @@ public:
HANDLER(account_width_).report(out);
HANDLER(amount_width_).report(out);
HANDLER(total_width_).report(out);
+ HANDLER(values).report(out);
}
option_t<report_t> * lookup_option(const char * p);
@@ -1043,6 +1044,7 @@ public:
OPTION(report_t, account_width_);
OPTION(report_t, amount_width_);
OPTION(report_t, total_width_);
+ OPTION(report_t, values);
};
template <class Type = post_t,