summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-22 21:56:19 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-22 21:56:19 -0400
commite8e28c794bfb12fe1c9562c5bd124688ce45fc8e (patch)
tree3a6dfcaba3fae13dce2286c917aa74969a7d5be9 /src/report.h
parent0648c2f6dccb5c56e66d50a255177c92e46d5fea (diff)
downloadfork-ledger-e8e28c794bfb12fe1c9562c5bd124688ce45fc8e.tar.gz
fork-ledger-e8e28c794bfb12fe1c9562c5bd124688ce45fc8e.tar.bz2
fork-ledger-e8e28c794bfb12fe1c9562c5bd124688ce45fc8e.zip
Added report query modifiers: for, since, until
Now instead of ledger reg expense -p "this month", you can say: ledger reg expense for this month And as a shorthand for "for until this month", you can just say "until this month" or "since this month".
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h
index fc2fc1a2..59a632e6 100644
--- a/src/report.h
+++ b/src/report.h
@@ -126,6 +126,7 @@ public:
}
void normalize_options(const string& verb);
+ void normalize_period();
void parse_query_args(const value_t& args, const string& whence);
void posts_report(post_handler_ptr handler);