aboutsummaryrefslogtreecommitdiff
path: root/bin/shot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/shot')
-rwxr-xr-xbin/shot12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/shot b/bin/shot
index 91f3310..5bb1ae3 100755
--- a/bin/shot
+++ b/bin/shot
@@ -40,15 +40,15 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
@@ -56,15 +56,15 @@ done
OPTS=
while getopts 'mh' flag; do
case "$flag" in
- m)
+ (m)
OPTS='-s'
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;