summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-31 03:07:15 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-31 03:07:15 -0400
commitb0f12c600c8080d11d8f514aa7d4149323da6803 (patch)
tree1d295ceb2b49308184848a754d8572bb2376de41 /src/report.h
parent451b0e9b767d67cb116549b6fb508ace83af7d60 (diff)
downloadfork-ledger-b0f12c600c8080d11d8f514aa7d4149323da6803.tar.gz
fork-ledger-b0f12c600c8080d11d8f514aa7d4149323da6803.tar.bz2
fork-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.h')
-rw-r--r--src/report.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h
index 4d028e33..c1ad1997 100644
--- a/src/report.h
+++ b/src/report.h
@@ -240,6 +240,7 @@ public:
HANDLER(force_color).report(out);
HANDLER(force_pager).report(out);
HANDLER(forecast_while_).report(out);
+ HANDLER(forecast_years_).report(out);
HANDLER(format_).report(out);
HANDLER(gain).report(out);
HANDLER(head_).report(out);
@@ -544,6 +545,7 @@ public:
OPTION(report_t, force_color);
OPTION(report_t, force_pager);
OPTION(report_t, forecast_while_);
+ OPTION(report_t, forecast_years_);
OPTION(report_t, format_); // -F
OPTION_(report_t, gain, DO() { // -G