mirror of
https://github.com/simonmichael/hledger.git
synced 2024-10-06 10:57:30 +03:00
;doc: --debug help tweak
This commit is contained in:
parent
26978ffc26
commit
6aa1bbc18a
@ -134,7 +134,7 @@ General help flags:
|
|||||||
--info show the manual with info
|
--info show the manual with info
|
||||||
--man show the manual with man
|
--man show the manual with man
|
||||||
--version show version information
|
--version show version information
|
||||||
--debug=[1-9] show this level of debug output (default: 1)
|
--debug=[1-9] show this much debug output (default: 1)
|
||||||
```
|
```
|
||||||
}} )m4_dnl
|
}} )m4_dnl
|
||||||
m4_dnl
|
m4_dnl
|
||||||
|
@ -247,7 +247,7 @@ helpflags = [
|
|||||||
-- flagOpt would be more correct for --debug, showing --debug[=LVL] rather than --debug=[LVL].
|
-- flagOpt would be more correct for --debug, showing --debug[=LVL] rather than --debug=[LVL].
|
||||||
-- But because we handle --debug specially, flagReq also works, and it does not need =, removing a source of confusion.
|
-- But because we handle --debug specially, flagReq also works, and it does not need =, removing a source of confusion.
|
||||||
-- (This involves specially adding the flag value if missing in Cli.hs.)
|
-- (This involves specially adding the flag value if missing in Cli.hs.)
|
||||||
,flagReq ["debug"] (\s opts -> Right $ setopt "debug" s opts) "[1-9]" "show this level of debug output (default: 1)"
|
,flagReq ["debug"] (\s opts -> Right $ setopt "debug" s opts) "[1-9]" "show this much debug output (default: 1)"
|
||||||
]
|
]
|
||||||
-- XXX why are these duplicated in defCommandMode below ?
|
-- XXX why are these duplicated in defCommandMode below ?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user