From 19eb45cb680a2a8e767cd49e66c6729c57affea2 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 8 Apr 2014 15:57:40 -0700 Subject: [PATCH] account: add more description in the command-specific help --- hledger/Hledger/Cli/Accounts.hs | 3 +++ 1 file changed, 3 insertions(+) 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)"