From 767638a54e17c1d02222c717d5e1a116cca17e9d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 10 Dec 2016 10:44:19 +0100 Subject: Removed deprecated `--chapters` option. --- MANUAL.txt | 4 ---- pandoc.hs | 7 ------- 2 files changed, 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 -- cgit v1.2.3