Removed deprecated --chapters
option.
This commit is contained in:
parent
ce1664cf2b
commit
767638a54e
2 changed files with 0 additions and 11 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue