lib: writeOutput clarification

This commit is contained in:
Simon Michael 2017-07-25 16:02:38 -07:00
parent 7204b1b9a1
commit 71b206dfc5

View File

@ -141,6 +141,7 @@ journalApplyValue ropts j = do
return $ convert j
-- | Write some output to stdout or to a file selected by --output-file.
-- If the file exists it will be overwritten.
writeOutput :: CliOpts -> String -> IO ()
writeOutput opts s = do
f <- outputFileFromOpts opts