summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/App/CommandLineOptions.hs8
-rw-r--r--src/Text/Pandoc/App/Opt.hs2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs
index 882d94cd2..50925c942 100644
--- a/src/Text/Pandoc/App/CommandLineOptions.hs
+++ b/src/Text/Pandoc/App/CommandLineOptions.hs
@@ -564,14 +564,6 @@ options =
"block|section|document")
"" -- "Accepting or reject MS Word track-changes.""
- , Option "" ["atx-headers"]
- (NoArg
- (\opt -> do
- deprecatedOption "--atx-headers"
- "Use --markdown-headings=atx instead."
- return opt { optSetextHeaders = False } ))
- "" -- "Use atx-style headers for markdown"
-
, Option "" ["markdown-headings"]
(ReqArg
(\arg opt -> do
diff --git a/src/Text/Pandoc/App/Opt.hs b/src/Text/Pandoc/App/Opt.hs
index 578a507b7..70adde3e3 100644
--- a/src/Text/Pandoc/App/Opt.hs
+++ b/src/Text/Pandoc/App/Opt.hs
@@ -603,8 +603,6 @@ doOpt (k,v) = do
return (\o -> o{ optPdfEngineOpts = [unpack x] }))
"slide-level" ->
parseJSON v >>= \x -> return (\o -> o{ optSlideLevel = x })
- "atx-headers" ->
- parseJSON v >>= \x -> return (\o -> o{ optSetextHeaders = not x })
"markdown-headings" ->
parseJSON v >>= \x -> return (\o ->
case T.toLower x of