diff options
-rw-r--r-- | config.cc | 14 | ||||
-rw-r--r-- | config.h | 2 |
2 files changed, 15 insertions, 1 deletions
@@ -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 = "<all>"; +} 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 += "&"; @@ -47,6 +47,8 @@ struct config_t std::string total_expr; std::string total_expr_template; std::string forecast_limit; + std::string reconcile_balance; + std::string reconcile_date; unsigned long budget_flags; unsigned long pricing_leeway; bool show_collapsed; |