imp: mention the tldr --render flag in the failure warning [#2201]

This commit is contained in:
Simon Michael 2024-06-08 11:15:15 -07:00
parent 971396a34e
commit 4900072ff8

View File

@ -161,6 +161,6 @@ runTldrForPage name =
setEnv "TLDR_AUTO_UPDATE_DISABLED" "1"
callCommand $ dbg1 "tldr command" $ "tldr --render " <> f
) `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
)