added appropriate opts for _arguments
This commit is contained in:
parent
d930094f84
commit
57ba534a6a
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
case $service in
|
case $service in
|
||||||
opusenc)
|
opusenc)
|
||||||
_arguments \
|
_arguments -S \
|
||||||
'1:input file:_files -g "*.(#i)(wav|flac|ogg|aif(|f))(-.)"' \
|
'1:input file:_files -g "*.(#i)(wav|flac|ogg|aif(|f))(-.)"' \
|
||||||
'2:output file:_files -g "*.(#i)opus(-.)"' \
|
'2:output file:_files -g "*.(#i)opus(-.)"' \
|
||||||
'(- 1 *)'{-h,--help}'[show usage information]' \
|
'(- 1 *)'{-h,--help}'[show usage information]' \
|
||||||
|
@ -44,7 +44,7 @@ case $service in
|
||||||
'--set-ctl-int[pass encoder control]:encoder control'
|
'--set-ctl-int[pass encoder control]:encoder control'
|
||||||
;;
|
;;
|
||||||
opusdec)
|
opusdec)
|
||||||
_arguments \
|
_arguments -S \
|
||||||
'1:input file:_files -g "*.(#i)opus(-.)"' \
|
'1:input file:_files -g "*.(#i)opus(-.)"' \
|
||||||
'2::output file:_files -g "*.(#i)wav(-.)"' \
|
'2::output file:_files -g "*.(#i)wav(-.)"' \
|
||||||
'(- 1 *)'{-h,--help}'[show usage information]' \
|
'(- 1 *)'{-h,--help}'[show usage information]' \
|
||||||
|
@ -61,7 +61,7 @@ case $service in
|
||||||
'--save-range[save check values for every frame to a file]:output for check values:_files'
|
'--save-range[save check values for every frame to a file]:output for check values:_files'
|
||||||
;;
|
;;
|
||||||
opusinfo)
|
opusinfo)
|
||||||
_arguments \
|
_arguments -s -S \
|
||||||
'(- 1 *)-h[show usage information]' \
|
'(- 1 *)-h[show usage information]' \
|
||||||
'(- 1 *)-V[show version information]' \
|
'(- 1 *)-V[show version information]' \
|
||||||
'*-q[make the output quieter]' \
|
'*-q[make the output quieter]' \
|
||||||
|
|
Loading…
Reference in New Issue