aboutsummaryrefslogtreecommitdiff
path: root/bin/player
diff options
context:
space:
mode:
Diffstat (limited to 'bin/player')
-rwxr-xr-xbin/player10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/player b/bin/player
index cc71c9d..b83e8c0 100755
--- a/bin/player
+++ b/bin/player
@@ -45,27 +45,27 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
while getopts 'P:h' flag; do
case "$flag" in
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;