]> gitweb.michael.orlitzky.com - dead/halcyon.git/blobdiff - src/ExitCodes.hs
Rewrite CommandLine to use cmdargs and integrate the command-line and RC file options.
[dead/halcyon.git] / src / ExitCodes.hs
index b190489bf3f1c6bb808f0b3abdf9b7b24a565b95..653b1c98c94a0d18f3c044302461d4166ba82f31 100644 (file)
@@ -1,8 +1,17 @@
--- |All exit codes that the program can return (excepting ExitSuccess).
--- There's only one, since the program will try/fail forever upon errors.
-module ExitCodes
+-- |All exit codes that the program can return (excepting
+-- ExitSuccess). There's only one, since the program will try and fail
+-- forever upon errors.
+module ExitCodes (
+  exit_args_parse_failed,
+  exit_no_usernames
+  )
 where
 
 -- |Indicates that the command-line arguments could not be parsed.
 exit_args_parse_failed :: Int
 exit_args_parse_failed = 1
+
+-- | No usernames found on either the command-line or in a config
+--   file.
+exit_no_usernames :: Int
+exit_no_usernames = 2