summaryrefslogtreecommitdiff
path: root/etc/functions/youtube-watch
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/youtube-watch')
-rwxr-xr-xetc/functions/youtube-watch1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/functions/youtube-watch b/etc/functions/youtube-watch
index c7940bf..78d7f8a 100755
--- a/etc/functions/youtube-watch
+++ b/etc/functions/youtube-watch
@@ -5,6 +5,7 @@ typeset -i cache=0
while [[ $* == -* ]] {
case $1 in
-c) cache=1
+ -|--) shift; break ;;
esac
shift
}