aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANUAL.txt4
-rw-r--r--pandoc.hs7
2 files changed, 0 insertions, 11 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 5d53c192d..21692c59f 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -690,10 +690,6 @@ Options affecting specific writers
: Use ATX-style headers in Markdown and AsciiDoc output. The default is
to use setext-style headers for levels 1-2, and then ATX headers.
-`--chapters`
-
-: Deprecated synonym for `--top-level-division=chapter`.
-
`--top-level-division=[default|section|chapter|part]`
: Treat top-level headers as the given division type in LaTeX, ConTeXt,
diff --git a/pandoc.hs b/pandoc.hs
index f5d5e0da6..b891dbacf 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -598,13 +598,6 @@ options =
(\opt -> return opt { optSetextHeaders = False } ))
"" -- "Use atx-style headers for markdown"
- , Option "" ["chapters"]
- (NoArg
- (\opt -> do warn $ "--chapters is deprecated. " ++
- "Use --top-level-division=chapter instead."
- return opt { optTopLevelDivision = TopLevelChapter }))
- "" -- "Use chapter for top-level sections in LaTeX, DocBook"
-
, Option "" ["top-level-division"]
(ReqArg
(\arg opt -> do