mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +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
|
||||
--man show the manual with man
|
||||
--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
|
||||
|
@ -247,7 +247,7 @@ helpflags = [
|
||||
-- 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.
|
||||
-- (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 ?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user