mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-24 19:02:46 +03:00
account: add more description in the command-specific help
This commit is contained in:
parent
a4a332e64f
commit
19eb45cb68
@ -29,6 +29,9 @@ import Hledger.Cli.Options
|
||||
-- | Command line options for this command.
|
||||
accountsmode = (defCommandMode $ ["accounts"] ++ aliases ++ hiddenaliases) {
|
||||
modeHelp = "show account names" `withAliases` aliases
|
||||
,modeHelpSuffix = [
|
||||
"This command lists the accounts referenced by matched postings (and in tree mode, their parents as well). The accounts can be depth-clipped (--depth N or depth:N) or have their leading components dropped (--drop N)."
|
||||
]
|
||||
,modeGroupFlags = C.Group {
|
||||
groupUnnamed = [
|
||||
flagNone ["flat"] (\opts -> setboolopt "flat" opts) "show full account names, as a list (default)"
|
||||
|
Loading…
Reference in New Issue
Block a user