diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 17:25:19 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 17:25:19 -0400 |
commit | b7f2a95c1f630d1246afa4b7f847435d62c9341e (patch) | |
tree | 58fdbf7aeb495270398de5c17f0364951aba6497 /src/report.cc | |
parent | 275da22752f690f202269e2a0dc5cd405e0490e2 (diff) | |
download | ledger-b7f2a95c1f630d1246afa4b7f847435d62c9341e.tar.gz ledger-b7f2a95c1f630d1246afa4b7f847435d62c9341e.tar.bz2 ledger-b7f2a95c1f630d1246afa4b7f847435d62c9341e.zip |
Accept --first/--last as synonyms for --head/--tail
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc index 6cfd9cd3..917c98f6 100644 --- a/src/report.cc +++ b/src/report.cc @@ -405,6 +405,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) case 'f': OPT(forecast_); else OPT(format_); + else OPT_ALT(head_, first_); break; case 'g': OPT_CH(performance); @@ -425,6 +426,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) else OPT(lot_prices); else OPT(lot_tags); else OPT(lots); + else OPT_ALT(tail_, last_); break; case 'm': OPT(market); |