imp: cli: --info before --man

This commit is contained in:
Simon Michael 2024-05-29 09:17:11 -10:00
parent 1fe7e7af8c
commit f88aa8f871
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@ -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 ?