git.iko.soy/typeable/pandoc
on master help sign in
Make sure that input-files works in --default files.
commit070e098b48bfed41b703eec7c62c91c82ad66d26 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 9 Oct 2019, 17:51 (7 years ago) parenta3729ef
1 file changed+1−1
src/Text/Pandoc/App/CommandLineOptions.hs+1−1
src/Text/Pandoc/App/CommandLineOptions.hs+1−1
@@ -86,7 +86,7 @@ parseOptions options' defaults = do
8686
8787 -- thread option data structure through all supplied option actions
8888 opts <- foldl (>>=) (return defaults) actions
89− return (opts{ optInputFiles = map normalizePath args })
89+ return (opts{ optInputFiles = map normalizePath $ optInputFiles opts ++ args })
9090
9191latexEngines :: [String]
9292latexEngines = ["pdflatex", "lualatex", "xelatex", "latexmk", "tectonic"]