lib: writeOutput clarification
This commit is contained in:
parent
7204b1b9a1
commit
71b206dfc5
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user