diff options
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/App/Opt.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/Opt.hs b/src/Text/Pandoc/App/Opt.hs index d14365e85..4c08e3074 100644 --- a/src/Text/Pandoc/App/Opt.hs +++ b/src/Text/Pandoc/App/Opt.hs @@ -188,7 +188,7 @@ doOpt opt (k',v) = do <|> (parseYAML v >>= \x -> return opt { optMetadataFiles = [unpack x] }) "output-file" -> - parseYAML v >>= \x -> return opt { optOutputFile = Just $ unpack x } + parseYAML v >>= \x -> return opt { optOutputFile = unpack <$> x } "input-files" -> parseYAML v >>= \x -> return opt { optInputFiles = map unpack x } "number-sections" -> |