summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-05-30 02:41:06 -0600
committerJohn Wiegley <johnw@newartisans.com>2010-05-30 02:42:36 -0600
commitf491979d5547742aae70b3f6dd5b4aa0eac36605 (patch)
tree95d4cdbe2fb5d5fe6266fbdcb1461014285f0cb8 /src
parent3215fd71a499648f5ff8e992bd1ff66e963858a0 (diff)
downloadfork-ledger-f491979d5547742aae70b3f6dd5b4aa0eac36605.tar.gz
fork-ledger-f491979d5547742aae70b3f6dd5b4aa0eac36605.tar.bz2
fork-ledger-f491979d5547742aae70b3f6dd5b4aa0eac36605.zip
Added new option: --no-titles
Diffstat (limited to 'src')
-rw-r--r--src/report.cc1
-rw-r--r--src/report.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 486c0fdf..4dee4bb2 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -916,6 +916,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
case 'n':
OPT_CH(collapse);
else OPT(no_color);
+ else OPT(no_titles);
else OPT(no_total);
else OPT(now_);
break;
diff --git a/src/report.h b/src/report.h
index aa72832c..104cfc73 100644
--- a/src/report.h
+++ b/src/report.h
@@ -267,6 +267,7 @@ public:
HANDLER(market).report(out);
HANDLER(meta_).report(out);
HANDLER(monthly).report(out);
+ HANDLER(no_titles).report(out);
HANDLER(no_total).report(out);
HANDLER(now_).report(out);
HANDLER(only_).report(out);
@@ -637,6 +638,7 @@ public:
parent->HANDLER(color).off();
});
+ OPTION(report_t, no_titles);
OPTION(report_t, no_total);
OPTION_(report_t, now_, DO_(args) {