;doc: update CLI usage texts

This commit is contained in:
Simon Michael 2022-10-08 08:22:25 -10:00
parent ca5847fc08
commit d5fa141176

View File

@ -10,9 +10,10 @@ directives.
With query arguments, only matched account names and account names
referenced by matched postings are shown.
Or it can show just the used accounts (--used), the declared accounts
(--declared), the accounts used but not declared (--undeclared), or the
first account matched by an account name pattern, if any (--find).
Or it can show just the used accounts (--used/-u), the declared accounts
(--declared/-d), the accounts declared but not used (--unused), the
accounts used but not declared (--undeclared), or the first account
matched by an account name pattern, if any (--find).
It shows a flat list by default. With --tree, it uses indentation to
show the account hierarchy. In flat mode you can add --drop N to omit
@ -28,8 +29,8 @@ order; these may be useful when troubleshooting account display order.
With --directives, it adds the account keyword, showing valid account
directives which can be pasted into a journal file. This is useful
together with --undeclared to update your account declarations when
check accounts reports undeclared accounts.
together with --undeclared when updating your account declarations to
satisfy hledger check accounts.
The --find flag can be used to look up a single account name, in the
same way that the aregister command does. It returns the