X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Fexit_codes.rb;h=a0d030b2648f3c8cdf07e546fc72907868547f03;hp=8f70919fc457d5500a0d52c468419a7b2a4b5ca5;hb=df4e02ebf6a4e28a58abcb298a4442a245ad0b15;hpb=c6cab6b71770d14dad1115db90a00b990c44a58d diff --git a/lib/common/exit_codes.rb b/lib/common/exit_codes.rb index 8f70919..a0d030b 100644 --- a/lib/common/exit_codes.rb +++ b/lib/common/exit_codes.rb @@ -1,7 +1,9 @@ +# Command-line exit codes. In other words, what you'll see if you +# echo $? after running the executable on the command-line. module ExitCodes - + # Everything went better than expected. SUCCESS = 0 - FILESYSTEM_ERROR = 1 - DATABASE_ERROR = 2 + # The command-line arguments were not what we expected. + BAD_COMMAND_LINE = 1 end