on master help sign in
fix newline printing
commitb2243665adb92c38318e6f2d5fe39042d807f056 authorGreg Weber <greg@gregweber.info> dateSun 8 Sep 2013, 07:34 (13 years ago) parent616ab6c
1 file changed+1−1
exe/yaml2json.hs+1−1
exe/yaml2json.hs+1−1
@@ -9,7 +9,7 @@ import Data.ByteString.Lazy (putStr)
99import Data.ByteString (getContents)
1010
1111helpMessage :: IO ()
12−helpMessage = print "yaml2json FILE\n use - to indicate stdin" >> exitFailure
12+helpMessage = putStrLn "yaml2json FILE\n use - as FILE to indicate stdin" >> exitFailure
1313
1414showJSON ejson =
1515 case ejson of