]> gitweb.michael.orlitzky.com - dead/halcyon.git/blobdiff - src/CommandLine.hs
Rename the project to Halcyon.
[dead/halcyon.git] / src / CommandLine.hs
index e70aa964c667e3d22aa88afcefb3847da84169ba..06c072e8715af292cb8a5d83ffa5ed0cd29b2aa4 100644 (file)
@@ -11,17 +11,18 @@ import System.Exit (ExitCode(..), exitWith)
 import System.IO (hPutStrLn, stderr)
 
 -- Get the version from Cabal.
-import Paths_twat (version)
+import Paths_halcyon (version)
 import Data.Version (showVersion)
 
-import OptionalConfiguration
 import ExitCodes
+import OptionalConfiguration
 
 description :: String
-description = "Twat twats tweets so you don't have to twitter."
+description =
+  "Monitor a list of Twitter accounts and display or email any new tweets."
 
 program_name :: String
-program_name = "twat"
+program_name = "halcyon"
 
 my_summary :: String
 my_summary = program_name ++ "-" ++ (showVersion version)
@@ -124,8 +125,8 @@ arg_spec =
     &= helpArg [groupname "Common flags"]
     &= versionArg [groupname "Common flags"]
 
-show_help :: IO (CmdArgs OptionalCfg)
-show_help = withArgs ["--help"] parse_args
+show_help :: IO OptionalCfg
+show_help = withArgs ["--help"] parse_args >>= cmdArgsApply