Sysexits – preferable exit codes for programs
I'm happy enough with with 0 (success), 1 (failure), 2 (invoked incorrectly, i.e. invalid flags or too few arguments). But maybe other people and particularly sysadmins care more.Only using 0 and 1, period, and not differentiating between the situations 1 and 2 is a bit too sloppy though.