aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-16 09:34:26 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-16 09:34:26 -0800
commitb6d1f4bc9ef1ed51bc46578ea71f7701526269ed (patch)
tree81f1b18c98fc70a704b342a41dc380d14d5e9b25 /src
parent491eb00e403f9a796bbf1b5ae5be82b623ce579d (diff)
downloadpandoc-b6d1f4bc9ef1ed51bc46578ea71f7701526269ed.tar.gz
Moved --chapters to before --number-sections in option list.
Diffstat (limited to 'src')
-rw-r--r--src/pandoc.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 065a6850a..a477538ee 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -235,11 +235,6 @@ options =
(\opt -> return opt { optHtml5 = True }))
"" -- "Produce HTML5 in HTML output"
- , Option "" ["chapters"]
- (NoArg
- (\opt -> return opt { optChapters = True }))
- "" -- "Use chapter for top-level sections in LaTeX, DocBook"
-
, Option "m" ["latexmathml", "asciimathml"]
(OptArg
(\arg opt ->
@@ -307,6 +302,11 @@ options =
(\opt -> return opt { optXeTeX = True }))
"" -- "Format latex for processing by XeTeX"
+ , Option "" ["chapters"]
+ (NoArg
+ (\opt -> return opt { optChapters = True }))
+ "" -- "Use chapter for top-level sections in LaTeX, DocBook"
+
, Option "N" ["number-sections"]
(NoArg
(\opt -> return opt { optNumberSections = True }))