Changed --exchange's short option from -x to -X
This commit is contained in:
parent
f33d3f97f6
commit
7e43b93782
3 changed files with 6 additions and 6 deletions
|
|
@ -111,7 +111,7 @@ and causes an immediate reloading of all journal files in the session.
|
||||||
.It Fl \-columns Ar INT
|
.It Fl \-columns Ar INT
|
||||||
.It Fl \-commodity-as-account
|
.It Fl \-commodity-as-account
|
||||||
(Also \fB\-\-comm\-as\-account\fR).
|
(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).
|
(Also \fB\-\-comm\-as\-payee\fR).
|
||||||
.It Fl \-cost
|
.It Fl \-cost
|
||||||
See \fB\-\-basis\fR.
|
See \fB\-\-basis\fR.
|
||||||
|
|
@ -133,7 +133,7 @@ See \fB\-\-basis\fR.
|
||||||
.It Fl \-end Pq Fl e
|
.It Fl \-end Pq Fl e
|
||||||
.It Fl \-equity
|
.It Fl \-equity
|
||||||
.It Fl \-exact
|
.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 \-file Ar FILE
|
||||||
.It Fl \-first Ar INT
|
.It Fl \-first Ar INT
|
||||||
See \fB\-\-head\fR.
|
See \fB\-\-head\fR.
|
||||||
|
|
|
||||||
|
|
@ -389,6 +389,9 @@ option_t<report_t> * report_t::lookup_option(const char * p)
|
||||||
case 'W':
|
case 'W':
|
||||||
OPT_CH(weekly);
|
OPT_CH(weekly);
|
||||||
break;
|
break;
|
||||||
|
case 'X':
|
||||||
|
OPT_CH(exchange_);
|
||||||
|
break;
|
||||||
case 'Y':
|
case 'Y':
|
||||||
OPT_CH(yearly);
|
OPT_CH(yearly);
|
||||||
break;
|
break;
|
||||||
|
|
@ -544,9 +547,6 @@ option_t<report_t> * report_t::lookup_option(const char * p)
|
||||||
OPT(weekly);
|
OPT(weekly);
|
||||||
else OPT_(wide);
|
else OPT_(wide);
|
||||||
break;
|
break;
|
||||||
case 'x':
|
|
||||||
OPT_CH(exchange_);
|
|
||||||
break;
|
|
||||||
case 'y':
|
case 'y':
|
||||||
OPT_CH(date_format_);
|
OPT_CH(date_format_);
|
||||||
else OPT(yearly);
|
else OPT(yearly);
|
||||||
|
|
|
||||||
|
|
@ -383,7 +383,7 @@ public:
|
||||||
OPTION(report_t, equity);
|
OPTION(report_t, equity);
|
||||||
OPTION(report_t, exact);
|
OPTION(report_t, exact);
|
||||||
|
|
||||||
OPTION_(report_t, exchange_, DO_(args) { // -x
|
OPTION_(report_t, exchange_, DO_(args) { // -X
|
||||||
on_with(args[0]);
|
on_with(args[0]);
|
||||||
call_scope_t no_args(*parent);
|
call_scope_t no_args(*parent);
|
||||||
parent->HANDLER(market).parent = parent;
|
parent->HANDLER(market).parent = parent;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue