aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-01-21 15:13:12 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-01-21 15:13:12 -0800
commit29086d4a9633afd6e238562b7e1ab715ec786eaa (patch)
tree3149ab7551f5d8c6f85bad8e1c8d8b1e3a4df04c /src
parente57fb8d59d2488843622e208a865545141debefa (diff)
downloadpandoc-29086d4a9633afd6e238562b7e1ab715ec786eaa.tar.gz
Slight edits to a couple error messages.
Diffstat (limited to 'src')
-rw-r--r--src/pandoc.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index c1ca7afcd..fac615a8d 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -409,7 +409,7 @@ options =
"javascript" -> return JavascriptObfuscation
"none" -> return NoObfuscation
_ -> err 6
- ("Error: Unknown obfuscation method: " ++ arg)
+ ("Unknown obfuscation method: " ++ arg)
return opt { optEmailObfuscation = method })
"none|javascript|references")
"" -- "Method for obfuscating email in HTML"
@@ -947,7 +947,7 @@ main = do
writerHighlightStyle = highlightStyle }
when (writerName' `elem` nonTextFormats&& outputFile == "-") $
- err 5 $ "Error: Cannot write " ++ writerName' ++ " output to stdout.\n" ++
+ err 5 $ "Cannot write " ++ writerName' ++ " output to stdout.\n" ++
"Specify an output file using the -o option."
let readSources [] = mapM readSource ["-"]