X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Fexit_codes.rb;h=a0d030b2648f3c8cdf07e546fc72907868547f03;hp=f632b25982cb26d17f28060862f3ee08be5a4d5e;hb=HEAD;hpb=a6ae98f0423603445b621a8eaa17443c8d590b45 diff --git a/lib/common/exit_codes.rb b/lib/common/exit_codes.rb index f632b25..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 - BAD_COMMAND_LINE = 3 + + # The command-line arguments were not what we expected. + BAD_COMMAND_LINE = 1 end