aboutsummaryrefslogtreecommitdiff
path: root/bin/copy
diff options
context:
space:
mode:
Diffstat (limited to 'bin/copy')
-rwxr-xr-xbin/copy12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/copy b/bin/copy
index d7ffd61..1031fea 100755
--- a/bin/copy
+++ b/bin/copy
@@ -36,15 +36,15 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
@@ -52,15 +52,15 @@ done
TRIM=false
while getopts 'nh' flag; do
case "$flag" in
- n)
+ (n)
TRIM=true
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;