diff options
| author | John MacFarlane <[email protected]> | 2022-09-29 10:29:29 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-09-29 10:29:29 -0700 |
| commit | 6227144216b35349cc5415233baae13f8d1cc886 (patch) | |
| tree | 3772a9df536d2366b21f3d6c06060c7da734fc10 /src | |
| parent | 48d0bfc6753361d0210f142578f248bf9a887d3e (diff) | |
Remove deprecated `--atx-headers` option.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 8 | ||||
| -rw-r--r-- | src/Text/Pandoc/App/Opt.hs | 2 |
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 |
