mirror of
https://github.com/simonmichael/hledger.git
synced 2025-01-01 06:41:55 +03:00
imp: close: tweak doc more (#2020)
This commit is contained in:
parent
3660118575
commit
7695e409bf
@ -4,15 +4,19 @@
|
|||||||
|
|
||||||
`close [--open | --migrate | --retain] [QUERY]`
|
`close [--open | --migrate | --retain] [QUERY]`
|
||||||
|
|
||||||
Transfer account balances to and/or from an equity account.
|
Transfer balances to and/or from another account (usually equity).
|
||||||
|
Useful for migrating balances to a new journal file,
|
||||||
|
or for merging earnings into equity at end of accounting period.
|
||||||
|
|
||||||
|
By default, it prints a "closing balances" transaction that zeroes out
|
||||||
|
all accounts, transferring their balances to `equity:opening/closing balances`.
|
||||||
|
|
||||||
_FLAGS
|
_FLAGS
|
||||||
|
|
||||||
This command is useful in several situations.
|
This command is useful in several situations.
|
||||||
It has four main modes, corresponding to the most common use cases:
|
It has four main modes, corresponding to the most common use cases:
|
||||||
|
|
||||||
By default, it prints a "closing balances" transaction that zeroes out
|
By default, it prints a "closing balances" transaction that zeroes out all accounts.
|
||||||
all accounts, transferring their balances to `equity:opening/closing balances`.
|
|
||||||
|
|
||||||
With `--open`, it instead prints an "opening balances" transaction that restores the balances
|
With `--open`, it instead prints an "opening balances" transaction that restores the balances
|
||||||
of asset, liability and most equity accounts. This is similar to Ledger's equity command,
|
of asset, liability and most equity accounts. This is similar to Ledger's equity command,
|
||||||
|
Loading…
Reference in New Issue
Block a user