summaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 29a4fb213..18124da3a 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -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")