account: add more description in the command-specific help

This commit is contained in:
Simon Michael 2014-04-08 15:57:40 -07:00
parent a4a332e64f
commit 19eb45cb68

View File

@ -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)"