aboutsummaryrefslogtreecommitdiff
path: root/bin/untill
diff options
context:
space:
mode:
Diffstat (limited to 'bin/untill')
-rwxr-xr-xbin/untill14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/untill b/bin/untill
index 9980c81..9290cfe 100755
--- a/bin/untill
+++ b/bin/untill
@@ -43,15 +43,15 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
@@ -59,18 +59,18 @@ done
_SECONDS=5
while getopts 'm:n:h' flag; do
case "$flag" in
- m)
+ (m)
MAX="$OPTARG"
;;
- n)
+ (n)
_SECONDS="$OPTARG"
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;