aboutsummaryrefslogtreecommitdiff
path: root/bin/record-my-screen
diff options
context:
space:
mode:
Diffstat (limited to 'bin/record-my-screen')
-rwxr-xr-xbin/record-my-screen10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/record-my-screen b/bin/record-my-screen
index 8b8a525..347fd7a 100755
--- a/bin/record-my-screen
+++ b/bin/record-my-screen
@@ -32,27 +32,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
;;