diff options
Diffstat (limited to 'src/Text/Pandoc/App/CommandLineOptions.hs')
-rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index 155ad4e39..c6d6f48a4 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -174,7 +174,7 @@ options = fp' <- fromMaybe fp <$> findFile fps inp <- readFileLazy fp' case Y.decode1 inp of - Right (newopts :: Opt) -> return newopts + Right (f :: Opt -> Opt) -> return $ f opt Left (errpos, errmsg) -> throwError $ PandocParseError $ "Error parsing " ++ fp' ++ " line " ++ |