idk why i was shifting 2
This commit is contained in:
parent
78701fb6f2
commit
c7ec1f9998
12
yt
12
yt
@ -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 "$@"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user