summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/App.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index 3dd4f214c..f7d6450cc 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -1405,7 +1405,7 @@ options =
(ReqArg
(\arg opt -> do
let oldArgs = optPdfEngineArgs opt
- return opt { optPdfEngineArgs = arg : oldArgs })
+ return opt { optPdfEngineArgs = oldArgs ++ [arg]})
"STRING")
"" -- "Flags to pass to the PDF-engine, all instances of this option are accumulated and used"