summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h
index a98286a9..5ab29736 100644
--- a/src/report.h
+++ b/src/report.h
@@ -313,6 +313,11 @@ public:
on("%y-%b-%d");
});
+ OPTION_(report_t, depth_, DO_(scope) {
+ interactive_t args(scope, "l");
+ parent->HANDLER(limit_).on(string("depth<=") + args.get<string>(0));
+ });
+
OPTION_(report_t, deviation, DO() { // -D
parent->HANDLER(display_total_).set_expr("amount_expr-total_expr/count");
});