diff options
-rw-r--r-- | src/pandoc.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs index bff98141d..6eac02ee2 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -257,7 +257,7 @@ options = , Option "5" ["html5"] (NoArg (\opt -> do - warn $ "pandoc: --html5 is deprecated. " + warn $ "--html5 is deprecated. " ++ "Use the html5 output format instead." return opt { optHtml5 = True })) "" -- "Produce HTML5 in HTML output" @@ -345,8 +345,9 @@ options = , Option "" ["offline"] (NoArg - (\opt -> return opt { optSelfContained = True, - optStandalone = True })) + (\opt -> do warn $ "--offline is deprecated. Use --self-contained instead." + return opt { optSelfContained = True, + optStandalone = True })) "" -- "Make slide shows include all the needed js and css" -- deprecated synonym for --self-contained |