aboutsummaryrefslogtreecommitdiff
path: root/bin/max
diff options
context:
space:
mode:
Diffstat (limited to 'bin/max')
-rwxr-xr-xbin/max10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/max b/bin/max
index d63f82d..ea0cba5 100755
--- a/bin/max
+++ b/bin/max
@@ -51,27 +51,27 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
while getopts 'h' flag; do
case "$flag" in
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;