aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/Opt.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-10-06 21:31:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-06 21:31:28 -0700
commitfcfdc8210f2376f99fdefb29833ae051e196a13e (patch)
tree75cefa68447ebe888acbcae6bb7161a478031e46 /src/Text/Pandoc/App/Opt.hs
parentcf1703396c626861fb1904bf5159e04d1ecc79b8 (diff)
downloadpandoc-fcfdc8210f2376f99fdefb29833ae051e196a13e.tar.gz
Text.Pandoc.App.Opt: Remove optBaseHeaderLevel from Opt.
We now just use optShiftHeadingLevelBy, to avoid redundancy.
Diffstat (limited to 'src/Text/Pandoc/App/Opt.hs')
-rw-r--r--src/Text/Pandoc/App/Opt.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/App/Opt.hs b/src/Text/Pandoc/App/Opt.hs
index bbcc65395..126f5db4c 100644
--- a/src/Text/Pandoc/App/Opt.hs
+++ b/src/Text/Pandoc/App/Opt.hs
@@ -51,7 +51,6 @@ data Opt = Opt
, optWriter :: Maybe String -- ^ Writer format
, optTableOfContents :: Bool -- ^ Include table of contents
, optShiftHeadingLevelBy :: Int -- ^ Shift heading level by
- , optBaseHeaderLevel :: Int -- ^ Base header level
, optTemplate :: Maybe FilePath -- ^ Custom template
, optVariables :: [(String,String)] -- ^ Template variables to set
, optMetadata :: [(String, String)] -- ^ Metadata fields to set
@@ -126,7 +125,6 @@ defaultOpts = Opt
, optWriter = Nothing
, optTableOfContents = False
, optShiftHeadingLevelBy = 0
- , optBaseHeaderLevel = 1
, optTemplate = Nothing
, optVariables = []
, optMetadata = []