X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Fexit_codes.rb;h=a0d030b2648f3c8cdf07e546fc72907868547f03;hp=a81067bc089e1b3a9f288f6a9fd8e5e7f94a6fd5;hb=HEAD;hpb=1231b3dcd3c59cd0855efe3ee02fc56c6380505d diff --git a/lib/common/exit_codes.rb b/lib/common/exit_codes.rb index a81067b..a0d030b 100644 --- a/lib/common/exit_codes.rb +++ b/lib/common/exit_codes.rb @@ -1,6 +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