summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/report.cc6
-rw-r--r--src/report.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/report.cc b/src/report.cc
index af4bff67..980b7892 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -389,6 +389,9 @@ option_t<report_t> * report_t::lookup_option(const char * p)
case 'W':
OPT_CH(weekly);
break;
+ case 'X':
+ OPT_CH(exchange_);
+ break;
case 'Y':
OPT_CH(yearly);
break;
@@ -544,9 +547,6 @@ option_t<report_t> * report_t::lookup_option(const char * p)
OPT(weekly);
else OPT_(wide);
break;
- case 'x':
- OPT_CH(exchange_);
- break;
case 'y':
OPT_CH(date_format_);
else OPT(yearly);
diff --git a/src/report.h b/src/report.h
index 5bc5bd69..6839de0e 100644
--- a/src/report.h
+++ b/src/report.h
@@ -383,7 +383,7 @@ public:
OPTION(report_t, equity);
OPTION(report_t, exact);
- OPTION_(report_t, exchange_, DO_(args) { // -x
+ OPTION_(report_t, exchange_, DO_(args) { // -X
on_with(args[0]);
call_scope_t no_args(*parent);
parent->HANDLER(market).parent = parent;