summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-12 22:15:57 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-12 22:15:57 -0400
commite367cfd895790e573f91823acb8866d7d636e1b8 (patch)
treeec5c05d544e3a49c0263bf3b09b276401807abcd /src/report.cc
parentcdd2ee6fbd2d4f1aa97c8b26b8d351ee7d66566b (diff)
downloadfork-ledger-e367cfd895790e573f91823acb8866d7d636e1b8.tar.gz
fork-ledger-e367cfd895790e573f91823acb8866d7d636e1b8.tar.bz2
fork-ledger-e367cfd895790e573f91823acb8866d7d636e1b8.zip
Recognize the --no-pager option
Thanks to Johann Klähn.
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 9756b60b..e724feaa 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -1189,6 +1189,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
case 'n':
OPT_CH(collapse);
else OPT(no_color);
+ else OPT(no_pager);
else OPT(no_rounding);
else OPT(no_titles);
else OPT(no_total);