diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-25 13:52:17 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-25 13:52:17 -0400 |
commit | 7e43b937825f3cc3572b09aeffa5b345f11f7aee (patch) | |
tree | af9e0b71f39e431f3735e6595eac122a52311feb /src | |
parent | f33d3f97f6496aee724d607fc1962b80d8c38b72 (diff) | |
download | ledger-7e43b937825f3cc3572b09aeffa5b345f11f7aee.tar.gz ledger-7e43b937825f3cc3572b09aeffa5b345f11f7aee.tar.bz2 ledger-7e43b937825f3cc3572b09aeffa5b345f11f7aee.zip |
Changed --exchange's short option from -x to -X
Diffstat (limited to 'src')
-rw-r--r-- | src/report.cc | 6 | ||||
-rw-r--r-- | src/report.h | 2 |
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; |