diff options
-rw-r--r-- | doc/ledger.1 | 5 | ||||
-rw-r--r-- | doc/ledger3.texi | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index 29414b75..82241894 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -513,7 +513,10 @@ will print balances only for accounts with two levels, i.e. but not .Sy Expenses:Entertainment:Dining . This is a display predicate, which means it only affects display, -not the total calculations. +not the total calculations. In register reports, +.Fl \-depth +will collapse postings of child accounts beyond the given level and add +their balances to the parent account. .It Fl \-detail Related to .Ic convert diff --git a/doc/ledger3.texi b/doc/ledger3.texi index ea053162..ce31f9aa 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -6468,7 +6468,9 @@ Limit the depth of the account tree. In a balance report, for example, a @samp{--depth 2} statement will print balances only for accounts with two levels, i.e. @samp{Expenses:Entertainment} but not @samp{Expenses:Entertainment:Dining}. This is a display predicate, which -means it only affects display, not the total calculations. +means it only affects display, not the total calculations. In register +reports, @samp{--depth} will collapse postings of child accounts beyond +the given level and add their balances to the parent account. @item --deviation Report each posting’s deviation from the average. It is only meaningful |