aboutsummaryrefslogtreecommitdiff
path: root/bin/yt
diff options
context:
space:
mode:
Diffstat (limited to 'bin/yt')
-rwxr-xr-xbin/yt14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/yt b/bin/yt
index 83b32cb..ff52bf0 100755
--- a/bin/yt
+++ b/bin/yt
@@ -44,15 +44,15 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
@@ -60,18 +60,18 @@ done
PLAYLIST_COUNT=15
while getopts 'fn:h' flag; do
case "$flag" in
- f)
+ (f)
FORCE=1
;;
- n)
+ (n)
PLAYLIST_COUNT="$OPTARG"
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;