aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/App/Opt.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/App/Opt.hs b/src/Text/Pandoc/App/Opt.hs
index c0d06e0f4..b5807a19c 100644
--- a/src/Text/Pandoc/App/Opt.hs
+++ b/src/Text/Pandoc/App/Opt.hs
@@ -299,8 +299,8 @@ doOpt (k',v) = do
return (\o -> o{ optPdfEngineOpts = [unpack x] }))
"slide-level" ->
parseYAML v >>= \x -> return (\o -> o{ optSlideLevel = x })
- "setext-headers" ->
- parseYAML v >>= \x -> return (\o -> o{ optSetextHeaders = x })
+ "atx-headers" ->
+ parseYAML v >>= \x -> return (\o -> o{ optSetextHeaders = not x })
"ascii" ->
parseYAML v >>= \x -> return (\o -> o{ optAscii = x })
"default-image-extension" ->