summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/CommandLineOptions.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-17 17:35:50 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-17 17:35:50 -0800
commit73fb9496bc2fed6d2b76e042623e78ac35347a06 (patch)
tree6148c3fcbc8d340899f336cb4b559c213ba3fad8 /src/Text/Pandoc/App/CommandLineOptions.hs
parent147ef90fdea29d68693184f07f2a679506a13702 (diff)
Reverted the behavior change with `--title-prefix`.
It now implies `--standalone` again, as before.
Diffstat (limited to 'src/Text/Pandoc/App/CommandLineOptions.hs')
-rw-r--r--src/Text/Pandoc/App/CommandLineOptions.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs
index bf1619e30..7d3b935ef 100644
--- a/src/Text/Pandoc/App/CommandLineOptions.hs
+++ b/src/Text/Pandoc/App/CommandLineOptions.hs
@@ -584,7 +584,8 @@ options =
(\arg opt ->
return opt {
optVariables =
- setVariable "title-prefix" arg $ optVariables opt })
+ setVariable "title-prefix" arg $ optVariables opt,
+ optStandalone = True })
"STRING")
"" -- "String to prefix to HTML window title"