aboutsummaryrefslogtreecommitdiff
path: root/bin/repos
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repos')
-rwxr-xr-xbin/repos14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/repos b/bin/repos
index e45f4c8..25f7725 100755
--- a/bin/repos
+++ b/bin/repos
@@ -41,15 +41,15 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
@@ -102,7 +102,7 @@ EXCLUDE=
VERBOSE=false
while getopts 'e:vh' flag; do
case "$flag" in
- e)
+ (e)
case "$OPTARG" in
*/)
ARG="$OPTARG"
@@ -113,15 +113,15 @@ while getopts 'e:vh' flag; do
esac
EXCLUDE="$(arr_push "$EXCLUDE" "$ARG")"
;;
- v)
+ (v)
VERBOSE=true
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;