diff options
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r-- | src/pandoc.hs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs index 52dfb731a..daad7d43c 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -409,16 +409,6 @@ options = "FILENAME") "" -- "File to include after document body" - , Option "C" ["custom-header"] - (ReqArg - (\arg opt -> do - text <- UTF8.readFile arg - let newVars = ("legacy-header", text) : optVariables opt - return opt { optVariables = newVars - , optStandalone = True }) - "FILENAME") - "" -- "File to use for custom header (implies -s)" - , Option "T" ["title-prefix"] (ReqArg (\arg opt -> do @@ -635,13 +625,6 @@ main = do mapM_ (\arg -> UTF8.hPutStrLn stdout arg) args exitWith ExitSuccess - -- warn about deprecated options - case lookup "legacy-header" variables of - Just _ -> UTF8.hPutStrLn stderr $ - "Warning: The -C/--custom-header is deprecated.\n" ++ - "Please transition to using --template instead." - Nothing -> return () - let sources = if ignoreArgs then [] else args datadir <- case mbDataDir of |