summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ledger.13
-rw-r--r--src/report.cc2
-rw-r--r--test/baseline/opt-lot-notes.test0
3 files changed, 3 insertions, 2 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1
index a8e5dcc4..2879cbe0 100644
--- a/doc/ledger.1
+++ b/doc/ledger.1
@@ -1,4 +1,4 @@
-.Dd March 9, 2012
+.Dd March 10, 2012
.Dt ledger 1
.Sh NAME
.Nm ledger
@@ -349,6 +349,7 @@ See
.It Fl \-leeway Ar INT Pq Fl Z
.It Fl \-limit Ar EXPR Pq Fl l
.It Fl \-lot-dates
+.It Fl \-lot-notes
.It Fl \-lot-prices
.It Fl \-lot-tags
.It Fl \-lots
diff --git a/src/report.cc b/src/report.cc
index 2d37f19f..c959e70a 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -1068,7 +1068,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
OPT_(limit_);
else OPT(lot_dates);
else OPT(lot_prices);
- else OPT(lot_tags);
+ else OPT_ALT(lot_tags, lot_notes);
else OPT(lots);
else OPT(lots_actual);
else OPT_ALT(tail_, last_);
diff --git a/test/baseline/opt-lot-notes.test b/test/baseline/opt-lot-notes.test
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/baseline/opt-lot-notes.test