diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-09 21:07:42 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:56 -0400 |
commit | 983618d26676b8ce2481a011407ff27f50be3b8e (patch) | |
tree | f6bc052af27c31caa544b2f8cc873f1c67582be6 /config.cc | |
parent | d516c64bec13ce031235895ee04e27d2fba1c363 (diff) | |
download | fork-ledger-983618d26676b8ce2481a011407ff27f50be3b8e.tar.gz fork-ledger-983618d26676b8ce2481a011407ff27f50be3b8e.tar.bz2 fork-ledger-983618d26676b8ce2481a011407ff27f50be3b8e.zip |
Added new options --reconcile, --reconcilable and --reconcile-date.
Diffstat (limited to 'config.cc')
-rw-r--r-- | config.cc | 14 |
1 files changed, 13 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 += "&"; |