mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
imp: cli: --info before --man
This commit is contained in:
parent
1fe7e7af8c
commit
f88aa8f871
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 ?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user