imp: mention the tldr --render flag in the failure warning [#2201]
This commit is contained in:
parent
971396a34e
commit
4900072ff8
@ -161,6 +161,6 @@ runTldrForPage name =
|
|||||||
setEnv "TLDR_AUTO_UPDATE_DISABLED" "1"
|
setEnv "TLDR_AUTO_UPDATE_DISABLED" "1"
|
||||||
callCommand $ dbg1 "tldr command" $ "tldr --render " <> f
|
callCommand $ dbg1 "tldr command" $ "tldr --render " <> f
|
||||||
) `catch` (\(_e::IOException) -> do
|
) `catch` (\(_e::IOException) -> do
|
||||||
hPutStrLn stderr $ "Warning: could not run tldr, using fallback viewer instead.\n"
|
hPutStrLn stderr $ "Warning: could not run tldr --render, using fallback viewer instead.\n"
|
||||||
BC.putStrLn b
|
BC.putStrLn b
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user