summaryrefslogtreecommitdiff
path: root/etc/functions/youtube-watch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-22 13:26:13 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-22 13:26:13 +0100
commita44fe40b707da76682d7aee1c01775694a35ca17 (patch)
tree1e40497692557ce9a974711d80da0723f36719ce /etc/functions/youtube-watch
parentcef704209d12374dceb99d320ee65b0ebe60d65f (diff)
functions: - / -- designate end of options
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
}