help: mention -h & output options in default output
This commit is contained in:
parent
8313695306
commit
9b9a1a7a30
@ -77,6 +77,7 @@ help' opts = do
|
|||||||
case topic of
|
case topic of
|
||||||
Nothing -> putStrLn $ [here|
|
Nothing -> putStrLn $ [here|
|
||||||
Please choose a manual by typing "hledger help MANUAL" (any substring is ok).
|
Please choose a manual by typing "hledger help MANUAL" (any substring is ok).
|
||||||
Manuals:
|
A viewer (info, man, a pager, or stdout) will be auto-selected,
|
||||||
|] ++ " " ++ intercalate " " docTopics
|
or type "hledger help -h" to see options. Manuals available:
|
||||||
|
|] ++ "\n " ++ intercalate " " docTopics
|
||||||
Just t -> viewer t
|
Just t -> viewer t
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user