diff --git a/hledger-ui/Hledger/UI/UIOptions.hs b/hledger-ui/Hledger/UI/UIOptions.hs index 7a57ac41b..8bee776ff 100644 --- a/hledger-ui/Hledger/UI/UIOptions.hs +++ b/hledger-ui/Hledger/UI/UIOptions.hs @@ -91,8 +91,8 @@ uihelpflags :: [Flag RawOpts] uihelpflags = [ flagNone ["version"] (setboolopt "version") "show version information" ,flagNone ["help","h"] (setboolopt "help") "show command line help" - ,flagNone ["man"] (setboolopt "man") "show the hledger-ui manual with man" ,flagNone ["info"] (setboolopt "info") "show the hledger-ui manual with info" + ,flagNone ["man"] (setboolopt "man") "show the hledger-ui manual with man" ] -- hledger-ui options, used in hledger-ui and above diff --git a/hledger-web/Hledger/Web/WebOptions.hs b/hledger-web/Hledger/Web/WebOptions.hs index 3c78d304b..bf2713412 100644 --- a/hledger-web/Hledger/Web/WebOptions.hs +++ b/hledger-web/Hledger/Web/WebOptions.hs @@ -122,8 +122,8 @@ webhelpflags :: [Flag RawOpts] webhelpflags = [ flagNone ["version"] (setboolopt "version") "show version information" ,flagNone ["help","h"] (setboolopt "help") "show command line help" - ,flagNone ["man"] (setboolopt "man") "show the hledger-web manual with man" ,flagNone ["info"] (setboolopt "info") "show the hledger-web manual with info" + ,flagNone ["man"] (setboolopt "man") "show the hledger-web manual with man" ] -- hledger-web options, used in hledger-web and above diff --git a/hledger/Hledger/Cli/CliOptions.hs b/hledger/Hledger/Cli/CliOptions.hs index 77823d788..66d1739f8 100644 --- a/hledger/Hledger/Cli/CliOptions.hs +++ b/hledger/Hledger/Cli/CliOptions.hs @@ -240,9 +240,9 @@ reportflags = [ clihelpflags :: [Flag RawOpts] clihelpflags = [ flagNone ["version"] (setboolopt "version") "show version information" - ,flagNone ["help","h"] (setboolopt "help") "show general or COMMAND's command-line help" - ,flagNone ["man"] (setboolopt "man") "show the hledger manual with man" - ,flagNone ["info"] (setboolopt "info") "show the hledger manual with info" + ,flagNone ["help","h"] (setboolopt "help") "show command-line help for hledger [or COMMAND]" + ,flagNone ["info"] (setboolopt "info") "show the hledger manual [for COMMAND] with info" + ,flagNone ["man"] (setboolopt "man") "show the hledger manual [for COMMAND] with man" ] -- XXX why are these duplicated in defCommandMode below ?