git.iko.soy/typeable/pandoc
on master help sign in
`--number-from` implies `--number-sections`.
commit91f507d393cd0621536fa837d87e402d9bab9fa2 authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 22 Feb 2013, 19:42 (14 years ago) parent9b190ec
1 file changed+2−1
pandoc.hs+2−1
pandoc.hs+2−1
@@ -473,7 +473,8 @@ options =
473473 (ReqArg
474474 (\arg opt ->
475475 case safeRead arg of
476− Just n -> return opt { optNumberFrom = n }
476+ Just n -> return opt { optNumberFrom = n,
477+ optNumberSections = True }
477478 _ -> err 57 "could not parse number-from")
478479 "NUMBER")
479480 "" -- "Starting number for sections"