|
@@ -42,7 +42,7 @@ die() {
|
42
|
42
|
|
43
|
43
|
usage_is() {
|
44
|
44
|
#
|
45
|
|
- # Echo out usage patterns and (by default) exit 1
|
|
45
|
+ # Echo out usage patterns and (by default) exit 2
|
46
|
46
|
#
|
47
|
47
|
# Specify -e STATUS for exit status, or "-E" to prevent
|
48
|
48
|
# exiting. Use "--" to delimit end of arguments processed
|
|
@@ -51,7 +51,7 @@ usage_is() {
|
51
|
51
|
# Recommended usage is to define usage() in your script and
|
52
|
52
|
# use this in body.
|
53
|
53
|
#
|
54
|
|
- local es=1
|
|
54
|
+ local es=2
|
55
|
55
|
while true; do case "$1" in
|
56
|
56
|
-e) es="$2"; shift 2 ;;
|
57
|
57
|
-E) es=""; shift ;;
|