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