From 559566751ddd29caf2cd74c3d44982c907bd1020 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 28 Oct 2009 01:17:10 -0400 Subject: Sort by default unless --unsorted is selected --- src/report.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 31f65c4f..c44937d4 100644 --- a/src/report.h +++ b/src/report.h @@ -290,6 +290,7 @@ public: HANDLER(unbudgeted).report(out); HANDLER(uncleared).report(out); HANDLER(unround).report(out); + HANDLER(unsorted).report(out); HANDLER(weekly).report(out); HANDLER(wide).report(out); HANDLER(yearly).report(out); @@ -821,6 +822,8 @@ public: .set_expr(string("--unround"), "unrounded(total_expr)"); }); + OPTION(report_t, unsorted); + OPTION_(report_t, weekly, DO() { // -W parent->HANDLER(period_).on(string("--weekly"), "weekly"); }); -- cgit v1.2.3