diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-07-03 12:47:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-07-03 12:47:35 -0700 |
commit | 1de55ecbbdc694cc853ae707b8a1f7d65af9eefd (patch) | |
tree | 5aa714116712429801207dc6da7573b82bf8abbf /pandoc.hs | |
parent | 3deab5d8e343eef791c239f7b3b7e2ef53304824 (diff) | |
download | pandoc-1de55ecbbdc694cc853ae707b8a1f7d65af9eefd.tar.gz |
`--toc-level` no longer implies `--toc`.
Reason: EPUB users who don't want a visible TOC may still want
to set the TOC level for in the book navigation.
Diffstat (limited to 'pandoc.hs')
-rw-r--r-- | pandoc.hs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -360,8 +360,7 @@ options = (\arg opt -> do case safeRead arg of Just t | t >= 1 && t <= 6 -> - return opt { optTOCDepth = t, - optTableOfContents = True } + return opt { optTOCDepth = t } _ -> err 57 $ "TOC level must be a number between 1 and 6") "NUMBER") |