X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=src%2FMain.hs;h=17442f4571635d7363f4ebf5e336bace3e83d0b4;hp=942b512f78716aaf2b62907fd19ec36e6a32809c;hb=eed0d7b0f8ef28864c00925beef5c8853bcd44cc;hpb=4f1ecbb17ed0e0a9506187630374468a46179514 diff --git a/src/Main.hs b/src/Main.hs index 942b512..17442f4 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -20,8 +20,7 @@ import Mail ( default_headers, print_sendmail_result, rfc822_now, - sendmail - ) + sendmail) import Twitter.Http import Twitter.Status import Twitter.User @@ -135,7 +134,7 @@ recurse cfg username latest_status_id maybe_message = do tz <- getCurrentTimeZone let mtz = Just tz - mapM_ (putStrLn . (pretty_print mtz)) good_statuses + mapM_ (putStr . (pretty_print mtz)) good_statuses send_messages cfg mtz maybe_message good_statuses @@ -210,7 +209,7 @@ main :: IO () main = do -- And a Cfg object. rc_cfg <- OC.from_rc - cmd_cfg <- apply_args + cmd_cfg <- get_args -- Merge the config file options with the command-line ones, -- prefering the command-line ones.