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 | |
parent | f33d3f97f6496aee724d607fc1962b80d8c38b72 (diff) | |
download | fork-ledger-7e43b937825f3cc3572b09aeffa5b345f11f7aee.tar.gz fork-ledger-7e43b937825f3cc3572b09aeffa5b345f11f7aee.tar.bz2 fork-ledger-7e43b937825f3cc3572b09aeffa5b345f11f7aee.zip |
Changed --exchange's short option from -x to -X
-rw-r--r-- | doc/ledger.1 | 4 | ||||
-rw-r--r-- | src/report.cc | 6 | ||||
-rw-r--r-- | src/report.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index 879c4f17..becec762 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -111,7 +111,7 @@ and causes an immediate reloading of all journal files in the session. .It Fl \-columns Ar INT .It Fl \-commodity-as-account (Also \fB\-\-comm\-as\-account\fR). -.It Fl \-commodity-as-payee Pq Fl x +.It Fl \-commodity-as-payee (Also \fB\-\-comm\-as\-payee\fR). .It Fl \-cost See \fB\-\-basis\fR. @@ -133,7 +133,7 @@ See \fB\-\-basis\fR. .It Fl \-end Pq Fl e .It Fl \-equity .It Fl \-exact -.It Fl \-exchange Ar COMM Oo , COMM, ... Oc Pq Fl x +.It Fl \-exchange Ar COMM Oo , COMM, ... Oc Pq Fl X .It Fl \-file Ar FILE .It Fl \-first Ar INT See \fB\-\-head\fR. 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; |