aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/App.hs')
-rw-r--r--src/Text/Pandoc/App.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index 12f5de537..8bdf12b69 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -141,7 +141,7 @@ convertWithOpts opts = do
Nothing | sources == ["-"] -> return "markdown"
| any isURI sources -> return "html"
| otherwise -> do
- report $ UnknownExtensions
+ report $ CouldNotDeduceFormat
(map takeExtension sources) "markdown"
return "markdown"