]> gitweb.michael.orlitzky.com - dead/halcyon.git/blob - src/ExitCodes.hs
Rewrite CommandLine to use cmdargs and integrate the command-line and RC file options.
[dead/halcyon.git] / src / ExitCodes.hs
1 -- |All exit codes that the program can return (excepting
2 -- ExitSuccess). There's only one, since the program will try and fail
3 -- forever upon errors.
4 module ExitCodes (
5 exit_args_parse_failed,
6 exit_no_usernames
7 )
8 where
9
10 -- |Indicates that the command-line arguments could not be parsed.
11 exit_args_parse_failed :: Int
12 exit_args_parse_failed = 1
13
14 -- | No usernames found on either the command-line or in a config
15 -- file.
16 exit_no_usernames :: Int
17 exit_no_usernames = 2