Fix textutil completion

- fix array value expansion
This commit is contained in:
Shohei YOSHIDA 2026-03-08 23:15:05 +09:00
parent 83ac2d1e89
commit 8c58e5f118
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ local -a format=(txt html rtf rtfd doc docx wordml odt webarchive)
_arguments -S \ _arguments -S \
'-help[Show the usage information for the command and exit]' \ '-help[Show the usage information for the command and exit]' \
'-info[Display information about the specified files]' \ '-info[Display information about the specified files]' \
'-convert[Convert the specified files to the indicated format and write]:format:(($format))' \ '-convert[Convert the specified files to the indicated format and write]:format:($format)' \
'-cat[Read the specified files, concatenate them in the indicated format]:format:(($format))' \ '-cat[Read the specified files, concatenate them in the indicated format]:format:($format)' \
'-extension[Specify an extension to be used for output files]:ext' \ '-extension[Specify an extension to be used for output files]:ext' \
'-output[Specify the file name to be used for the first output file]:path:_files' \ '-output[Specify the file name to be used for the first output file]:path:_files' \
'-stdin[Specify that input should be read from stdin rather than from files]' \ '-stdin[Specify that input should be read from stdin rather than from files]' \