cli, help: usage tweaks

[ci skip]
This commit is contained in:
Simon Michael 2017-07-08 08:22:42 +01:00
parent bd2d9b829c
commit 69c41cdd99
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import Hledger.Cli.DocFiles
--import Hledger.Utils.Debug
helpmode = (defCommandMode $ ["help"] ++ aliases) {
modeHelp = "show any of the hledger manuals, as plain text. With no argument, list the manuals." `withAliases` aliases
modeHelp = "show any of the hledger manuals, choosing the most suitable viewer (info, man, a pager, or stdout). With no argument, list the manuals." `withAliases` aliases
,modeGroupFlags = Group {
groupUnnamed = [
flagNone ["info"] (setboolopt "info") "show the manual with info"

View File

@ -81,7 +81,7 @@ import Hledger.Utils
mainmode addons = defMode {
modeNames = [progname ++ " [CMD]"]
,modeArgs = ([], Just $ argsFlag "[ARGS]")
,modeHelp = unlines ["hledger's command line interface"]
,modeHelp = unlines ["hledger's main command line interface. Runs builtin commands and other hledger executables. Type \"hledger\" to list available commands."]
,modeGroupModes = Group {
-- subcommands in the unnamed group, shown first:
groupUnnamed = [