From 983618d26676b8ce2481a011407ff27f50be3b8e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 9 Feb 2005 21:07:42 +0000 Subject: Added new options --reconcile, --reconcilable and --reconcile-date. --- config.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'config.cc') diff --git a/config.cc b/config.cc index 34dc4840..ea9c235e 100644 --- a/config.cc +++ b/config.cc @@ -168,7 +168,7 @@ void config_t::process_options(const std::string& command, // Process remaining command-line arguments - if (command != "e" && command != "w" && command != "R") { + if (command != "e" && command != "w") { // Treat the remaining command-line arguments as regular // expressions, used for refining report results. @@ -815,6 +815,18 @@ OPT_BEGIN(forecast, ":") { config.forecast_limit = optarg; } OPT_END(forecast); +OPT_BEGIN(reconcile, ":") { + config.reconcile_balance = optarg; +} OPT_END(reconcile); + +OPT_BEGIN(reconcilable, "") { + config.reconcile_balance = ""; +} OPT_END(reconcilable); + +OPT_BEGIN(reconcile_date, ":") { + config.reconcile_date = optarg; +} OPT_END(reconcile_date); + OPT_BEGIN(limit, "l:") { if (! config.predicate.empty()) config.predicate += "&"; -- cgit v1.2.3