diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-10-09 17:51:33 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-10-09 17:51:33 -0700 |
commit | 070e098b48bfed41b703eec7c62c91c82ad66d26 (patch) | |
tree | 2fcc95f9e2d5aec693daa8b487cb42a68a18dac8 /src/Text/Pandoc/App | |
parent | a3729ef2da06aca1799bdd57ada12f47c04b93e2 (diff) | |
download | pandoc-070e098b48bfed41b703eec7c62c91c82ad66d26.tar.gz |
Make sure that input-files works in --default files.
Diffstat (limited to 'src/Text/Pandoc/App')
-rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index 655ccfbac..8ff7c70e3 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -86,7 +86,7 @@ parseOptions options' defaults = do -- thread option data structure through all supplied option actions opts <- foldl (>>=) (return defaults) actions - return (opts{ optInputFiles = map normalizePath args }) + return (opts{ optInputFiles = map normalizePath $ optInputFiles opts ++ args }) latexEngines :: [String] latexEngines = ["pdflatex", "lualatex", "xelatex", "latexmk", "tectonic"] |