aboutsummaryrefslogtreecommitdiff
path: root/bin/grun
diff options
context:
space:
mode:
Diffstat (limited to 'bin/grun')
-rwxr-xr-xbin/grun12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/grun b/bin/grun
index 5bae057..46576c1 100755
--- a/bin/grun
+++ b/bin/grun
@@ -45,30 +45,30 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
while getopts 'rh' flag; do
case "$flag" in
- r)
+ (r)
RECIPIENTS_FLAG="${RECIPIENTS_FLAG:-} -r $OPTARG"
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;