From 0e613c67356f3aa75dab109552c9b2dfbd83a1e4 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Tue, 31 Mar 2020 09:04:21 +0800 Subject: Document --average-lot-prices option --- doc/ledger.1 | 3 +++ doc/ledger3.texi | 4 ++++ 2 files changed, 7 insertions(+) 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: -- cgit v1.2.3