Improved error if they give wrong arg to --top-level-division.
This commit is contained in:
parent
4a99e142ec
commit
e6422b1deb
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ options =
|
|||
(ReqArg
|
||||
(\arg opt -> case safeRead (uppercaseFirstLetter arg) of
|
||||
Just dvsn -> return opt { optTopLevelDivision = dvsn }
|
||||
_ -> err 76 "could not parse top-level division")
|
||||
_ -> err 76 "Top-level division must be section, chapter, or part")
|
||||
"[section|chapter|part]")
|
||||
"" -- "Use top-level division type in LaTeX, ConTeXt, DocBook"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue