diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-13 12:26:21 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-14 11:21:54 -0800 |
commit | a6d810af15df0015e75ed322ed9c14cb9574be61 (patch) | |
tree | 73c170a425c87cedcab53fd5a86fa8ba20cd02ad | |
parent | c16efea9836a5e990deeac9f798627d39c289d35 (diff) | |
download | pandoc-a6d810af15df0015e75ed322ed9c14cb9574be61.tar.gz |
Factored out convertWithOpts
-rw-r--r-- | pandoc.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1056,7 +1056,10 @@ main = do -- thread option data structure through all supplied option actions opts <- foldl (>>=) (return defaultOpts) actions + convertWithOpts opts args +convertWithOpts :: Opt -> [FilePath] -> IO () +convertWithOpts opts args = do let Opt { optTabStop = tabStop , optPreserveTabs = preserveTabs , optStandalone = standalone |