diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-22 00:27:00 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-22 00:27:00 +0100 |
commit | 407d057f4df527b5b1481634ba852155f103d8cf (patch) | |
tree | b558595300d91c83ef7e6a36711fd9a0d1480e62 /src/report.h | |
parent | 7d5f02f5cce2b3f7b5d4089f10de4466c9762a9c (diff) | |
download | fork-ledger-407d057f4df527b5b1481634ba852155f103d8cf.tar.gz fork-ledger-407d057f4df527b5b1481634ba852155f103d8cf.tar.bz2 fork-ledger-407d057f4df527b5b1481634ba852155f103d8cf.zip |
Added a --no-color option, to disable --color
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h index e0150d8f..63a1a045 100644 --- a/src/report.h +++ b/src/report.h @@ -561,6 +561,10 @@ public: parent->HANDLER(period_).on(string("--monthly"), "monthly"); }); + OPTION_(report_t, no_color, DO() { + parent->HANDLER(color).off(); + }); + OPTION(report_t, no_total); OPTION__ |