From b747243e8da58f0692f7d9de8c3dd3e5e02f8a9b Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Fri, 11 Dec 2015 23:52:08 -0800
Subject: [PATCH] Removed deprecated options `--offline` and `--html5`.

These have been deprecated forever.
---
 README    |  9 ---------
 pandoc.hs | 16 ----------------
 2 files changed, 25 deletions(-)

diff --git a/README b/README
index f9de43aaf..8f00ac3a8 100644
--- a/README
+++ b/README
@@ -614,15 +614,6 @@ Options affecting specific writers
     zoom or speaker notes) may not work in an offline "self-contained"
     `reveal.js` slide show.
 
-`--offline`
-
-:   Deprecated synonym for `--self-contained`.
-
-`-5`, `--html5`
-
-:   Produce HTML5 instead of HTML4.  This option has no effect for writers
-    other than `html`. (*Deprecated:*  Use the `html5` output format instead.)
-
 `--html-q-tags`
 
 :   Use `<q>` tags for quotes in HTML.
diff --git a/pandoc.hs b/pandoc.hs
index b571c388f..eebe57299 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -569,22 +569,6 @@ options =
                                         optStandalone = True }))
                  "" -- "Make slide shows include all the needed js and css"
 
-    , Option "" ["offline"]
-                 (NoArg
-                  (\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
-
-    , Option "5" ["html5"]
-                 (NoArg
-                  (\opt -> do
-                     warn $ "--html5 is deprecated. "
-                       ++ "Use the html5 output format instead."
-                     return opt { optHtml5 = True }))
-                 "" -- "Produce HTML5 in HTML output"
-
     , Option "" ["html-q-tags"]
                  (NoArg
                   (\opt ->