aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:15:08 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:15:08 +0000
commit0535396290ae15d9d31fe92fbd57e3c2a3e1038f (patch)
tree4b931061126352ffa4da9d8c4ac6cf385e0b9980
parent44db4b3295fb86f6df28e42736ed8ac419eaff69 (diff)
downloadpandoc-0535396290ae15d9d31fe92fbd57e3c2a3e1038f.tar.gz
Don't set "standalone" variable.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1717 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--src/pandoc.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 48d8353db..18ea40be8 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -217,10 +217,7 @@ options =
, Option "s" ["standalone"]
(NoArg
- (\opt -> do
- let newvars = ("standalone", "yes") : optVariables opt
- return opt { optStandalone = True,
- optVariables = newvars }))
+ (\opt -> return opt { optStandalone = True }))
"" -- "Include needed header and footer on output"
, Option "o" ["output"]