summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2020-03-31 09:04:21 +0800
committerMartin Michlmayr <tbm@cyrius.com>2020-03-31 09:04:21 +0800
commit0e613c67356f3aa75dab109552c9b2dfbd83a1e4 (patch)
treef2a52249e1937de2de140b09650a9e6b86360ee2
parent81e4ec8d88f7a42341bd72912ca5e025c568247d (diff)
downloadfork-ledger-0e613c67356f3aa75dab109552c9b2dfbd83a1e4.tar.gz
fork-ledger-0e613c67356f3aa75dab109552c9b2dfbd83a1e4.tar.bz2
fork-ledger-0e613c67356f3aa75dab109552c9b2dfbd83a1e4.zip
Document --average-lot-prices option
-rw-r--r--doc/ledger.13
-rw-r--r--doc/ledger3.texi4
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1
index e9b47315..0cad1e0e 100644
--- a/doc/ledger.1
+++ b/doc/ledger.1
@@ -378,6 +378,9 @@ Alias for
.It Fl \-average Pq Fl A
Print average values over the number of transactions instead of
running totals.
+.It Fl \-average-lot-prices
+Report the average price at which each commodity was purchased in
+a balance report.
.It Fl \-balance-format Ar FMT
Specify the format to use for the
.Ic balance
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index 2ea57b8a..bf446716 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -6258,6 +6258,10 @@ Show auxiliary dates for all calculations (@pxref{Effective Dates}).
Print average values over the number of transactions instead of
running totals.
+@item --average-lot-prices
+Report the average price at which each commodity was purchased in
+a balance report.
+
@item --balance-format @var{FORMAT_STRING}
Specify the format to use for the @command{balance} report (@pxref{Format
Strings}). The default is: