docs: "--used/--declare payees" not available
agander opened this issue · comments
agander commented
These parameters are not available for version 1.21:
gander@toast ~/.hledger/load_from_here (master)
$ hledger --version
hledger 1.21
gander@toast ~/.hledger/load_from_here (master)
$ hledger --declare payees
hledger: Unknown flag: --declare (use -h to see usage)
gander@toast ~/.hledger/load_from_here (master)
$ hledger --used payees
hledger: Unknown flag: --used (use -h to see usage)
but are listed in the help:
hledger payees -h
payees [OPTIONS] [QUERY]
List the unique payee/payer names that appear in transactions.
Flags:
--declared show payees declared with payee
directives
--used show payees referenced by
transactions
agander commented
@simonmichael ok to log this issue here?
Simon Michael commented
Thanks for the report @agander. This sounds like an issue with the hledger CLI, so main issue tracker would be better (http://bugs.hledger.org). Also could you check it with the current release, 1.22 ?
Simon Michael commented
PS the problem is that command-specific flags must be written after the command, this is mentioned in the manual hopefully.