From 4900072ff88e61524449ac3b33b96ac28936012f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 8 Jun 2024 11:15:15 -0700 Subject: [PATCH] imp: mention the tldr --render flag in the failure warning [#2201] --- hledger/Hledger/Cli/DocFiles.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/DocFiles.hs b/hledger/Hledger/Cli/DocFiles.hs index c946c04a0..007c32879 100644 --- a/hledger/Hledger/Cli/DocFiles.hs +++ b/hledger/Hledger/Cli/DocFiles.hs @@ -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 )