added appropriate opts for _arguments

This commit is contained in:
André Kugland 2021-04-19 16:57:12 -03:00
parent d930094f84
commit 57ba534a6a
No known key found for this signature in database
GPG Key ID: D3B10F07F86200D3
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
case $service in
opusenc)
_arguments \
_arguments -S \
'1:input file:_files -g "*.(#i)(wav|flac|ogg|aif(|f))(-.)"' \
'2:output file:_files -g "*.(#i)opus(-.)"' \
'(- 1 *)'{-h,--help}'[show usage information]' \
@ -44,7 +44,7 @@ case $service in
'--set-ctl-int[pass encoder control]:encoder control'
;;
opusdec)
_arguments \
_arguments -S \
'1:input file:_files -g "*.(#i)opus(-.)"' \
'2::output file:_files -g "*.(#i)wav(-.)"' \
'(- 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'
;;
opusinfo)
_arguments \
_arguments -s -S \
'(- 1 *)-h[show usage information]' \
'(- 1 *)-V[show version information]' \
'*-q[make the output quieter]' \