aboutsummaryrefslogtreecommitdiff
path: root/bin/min
diff options
context:
space:
mode:
Diffstat (limited to 'bin/min')
-rwxr-xr-xbin/min10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/min b/bin/min
index fcb685d..d513cb7 100755
--- a/bin/min
+++ b/bin/min
@@ -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
;;