Skip to content

Commit

Permalink
equity section in man page
Browse files Browse the repository at this point in the history
  • Loading branch information
howeyc committed Jul 6, 2024
1 parent ba76036 commit 7bb51a7
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions ledger/man/ledger.1
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,6 @@ Use terminal width
The alias
.Ic bal
is also accepted.
.It Ic equity
Print a transaction with a series of postings that has totals for accounts. The
purpose of this report is to close the books for a prior year, while using
these equity postings to carry forward those balances. Options available for
this command are:
.Bl -tag -compact -width "--begin-date (b) YYYY-mm-dd "
.It Fl \-begin-date ( Fl b ) Ar YYYY-mm-dd
Begin date of transactions to include in processing.
.It Fl \-end-date ( Fl e ) Ar YYYY-mm-dd
End date of transactions to include in processing.
.El
.It Ic print Oo Ar account-filter Oc
Print out the full transactions of any matching postings using the same
format as they would appear in a data file. This can be used to extract
Expand Down Expand Up @@ -166,6 +155,21 @@ Postings total
Days since last posting
.El
.El
.Sh EQUITY TRANSACTION
.Nm
has a command to generate an equity transaction for a specified period.
.Bl -tag -width equity
.It Ic equity
Print a transaction with a series of postings that has totals for accounts. The
purpose of this is to close the books for a period. The equity transaction can
be used as an inital transaction in a new file to start a new period. Options
available for this command are:
.Bl -tag -compact -width "--begin-date (b) YYYY-mm-dd "
.It Fl \-begin-date ( Fl b ) Ar YYYY-mm-dd
Begin date of transactions to include in processing.
.It Fl \-end-date ( Fl e ) Ar YYYY-mm-dd
End date of transactions to include in processing.
.El
.Sh IMPORT TRANSACTIONS
.Nm
has a top-level command to convert csv formatted postings to transaction format.
Expand Down

0 comments on commit 7bb51a7

Please sign in to comment.