git.iko.soy/typeable/pandoc
on master help sign in
Changed order of options, for aesthetic reasons.
2bca833fiddlosopher
src/Main.hs+5−5
@@ -225,6 +225,11 @@ options =
225 (\opt -> return opt { optNumberSections = True }))
225 (\opt -> return opt { optNumberSections = True }))
226 "" -- "Number sections in LaTeX"
226 "" -- "Number sections in LaTeX"
227
227
228+ , Option "" ["toc", "table-of-contents"]
229+ (NoArg
230+ (\opt -> return opt { optTableOfContents = True }))
231+ "" -- "Include table of contents"
232+
228 , Option "c" ["css"]
233 , Option "c" ["css"]
229 (ReqArg
234 (ReqArg
230 (\arg opt -> return opt { optCSS = arg,
235 (\arg opt -> return opt { optCSS = arg,
@@ -232,11 +237,6 @@ options =
232 "CSS")
237 "CSS")
233 "" -- "Link to CSS style sheet"
238 "" -- "Link to CSS style sheet"
234
239
235− , Option "" ["toc", "table-of-contents"]
236− (NoArg
237− (\opt -> return opt { optTableOfContents = True }))
238− "" -- "Include table of contents"
239−
240 , Option "H" ["include-in-header"]
240 , Option "H" ["include-in-header"]
241 (ReqArg
241 (ReqArg
242 (\arg opt -> do
242 (\arg opt -> do