diff --git a/hledger/Hledger/Cli/Accounts.hs b/hledger/Hledger/Cli/Accounts.hs index f3b62fa92..82b3058f9 100644 --- a/hledger/Hledger/Cli/Accounts.hs +++ b/hledger/Hledger/Cli/Accounts.hs @@ -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)"