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))