From 6fb76d979f0366019eb4f78d97da7dc789c74737 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 25 Jan 2016 09:07:37 -0800 Subject: [PATCH] web: fix typo in "-f -" warning --- hledger-web/Hledger/Web/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-web/Hledger/Web/Main.hs b/hledger-web/Hledger/Web/Main.hs index f7a49e7d3..0efc0441a 100644 --- a/hledger-web/Hledger/Web/Main.hs +++ b/hledger-web/Hledger/Web/Main.hs @@ -57,7 +57,7 @@ withJournalDo' opts cmd = do -- https://github.com/simonmichael/hledger/issues/202 -- -f- gives [Error#yesod-core] : hGetContents: illegal operation (handle is closed) for some reason -- Also we may be writing to this file. Just disallow it. - when (f == "-") $ error' "hledger-web doesn't support --f -, please specify a file path" + when (f == "-") $ error' "hledger-web doesn't support -f -, please specify a file path" readJournalFile Nothing Nothing True f >>= either error' (cmd opts . journalApplyAliases (aliasesFromOpts $ cliopts_ opts))