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