diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-31 03:07:15 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-31 03:07:15 -0400 |
commit | b0f12c600c8080d11d8f514aa7d4149323da6803 (patch) | |
tree | 1d295ceb2b49308184848a754d8572bb2376de41 /src/report.cc | |
parent | 451b0e9b767d67cb116549b6fb508ace83af7d60 (diff) | |
download | ledger-b0f12c600c8080d11d8f514aa7d4149323da6803.tar.gz ledger-b0f12c600c8080d11d8f514aa7d4149323da6803.tar.bz2 ledger-b0f12c600c8080d11d8f514aa7d4149323da6803.zip |
Added a --forecast-years option
This sets how many years of forecasting Ledger will do before it
terminates the attempt.
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc index bc0680d1..7d74952c 100644 --- a/src/report.cc +++ b/src/report.cc @@ -559,6 +559,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) case 'f': OPT(flat); else OPT_ALT(forecast_while_, forecast_); + else OPT(forecast_years_); else OPT(format_); else OPT(force_color); else OPT(force_pager); |