Skip to content

Commit 7bb51a7

Browse files
committed
equity section in man page
1 parent ba76036 commit 7bb51a7

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

ledger/man/ledger.1

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,6 @@ Use terminal width
9191
The alias
9292
.Ic bal
9393
is also accepted.
94-
.It Ic equity
95-
Print a transaction with a series of postings that has totals for accounts. The
96-
purpose of this report is to close the books for a prior year, while using
97-
these equity postings to carry forward those balances. Options available for
98-
this command are:
99-
.Bl -tag -compact -width "--begin-date (b) YYYY-mm-dd "
100-
.It Fl \-begin-date ( Fl b ) Ar YYYY-mm-dd
101-
Begin date of transactions to include in processing.
102-
.It Fl \-end-date ( Fl e ) Ar YYYY-mm-dd
103-
End date of transactions to include in processing.
104-
.El
10594
.It Ic print Oo Ar account-filter Oc
10695
Print out the full transactions of any matching postings using the same
10796
format as they would appear in a data file. This can be used to extract
@@ -166,6 +155,21 @@ Postings total
166155
Days since last posting
167156
.El
168157
.El
158+
.Sh EQUITY TRANSACTION
159+
.Nm
160+
has a command to generate an equity transaction for a specified period.
161+
.Bl -tag -width equity
162+
.It Ic equity
163+
Print a transaction with a series of postings that has totals for accounts. The
164+
purpose of this is to close the books for a period. The equity transaction can
165+
be used as an inital transaction in a new file to start a new period. Options
166+
available for this command are:
167+
.Bl -tag -compact -width "--begin-date (b) YYYY-mm-dd "
168+
.It Fl \-begin-date ( Fl b ) Ar YYYY-mm-dd
169+
Begin date of transactions to include in processing.
170+
.It Fl \-end-date ( Fl e ) Ar YYYY-mm-dd
171+
End date of transactions to include in processing.
172+
.El
169173
.Sh IMPORT TRANSACTIONS
170174
.Nm
171175
has a top-level command to convert csv formatted postings to transaction format.

0 commit comments

Comments
 (0)