idk why i was shifting 2

This commit is contained in:
Emma Tebibyte 2023-11-02 23:51:42 -06:00
parent 78701fb6f2
commit c7ec1f9998
Signed by: emma
GPG Key ID: 6D661C738815E7DD

12
yt
View File

@ -165,7 +165,7 @@ done
case "$com" in
add)
shift 2 2>/dev/null || usage 'add uri file'
shift 2>/dev/null || usage 'add uri file'
add "$@"
;;
cache)
@ -173,23 +173,23 @@ case "$com" in
cache "$@"
;;
clone)
shift 2 2>/dev/null || usage 'clone uri file'
shift 2>/dev/null || usage 'clone uri file'
clone "$@"
;;
music)
shift 1 2>/dev/null || usage 'music uri...'
shift 2>/dev/null || usage 'music uri...'
music "$@"
;;
pick)
shift 1 2>/dev/null || usage 'pick file...'
shift 2>/dev/null || usage 'pick file...'
pick "$@"
;;
play)
shift 1 2>/dev/null || usage 'uri...'
shift 2>/dev/null || usage 'uri...'
play "$@"
;;
verify)
shift 1 2>/dev/null || usage 'file...'
shift 2>/dev/null || usage 'file...'
verify "$@"
;;
*)