diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2025-12-15 23:12:18 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-15 23:12:18 +0900 |
| commit | 531d8ce5e7c53ff58ca5932a79aa877f732f1c87 (patch) | |
| tree | b6fde7d041c1d57a16dca5a44b1e21c92b690a1d /src | |
| parent | Merge pull request #1204 from zsh-users/remove_sfdx (diff) | |
| parent | refactoring macOS command completions (diff) | |
| download | zsh-completions-531d8ce5e7c53ff58ca5932a79aa877f732f1c87.tar zsh-completions-531d8ce5e7c53ff58ca5932a79aa877f732f1c87.tar.gz zsh-completions-531d8ce5e7c53ff58ca5932a79aa877f732f1c87.tar.bz2 zsh-completions-531d8ce5e7c53ff58ca5932a79aa877f732f1c87.tar.lz zsh-completions-531d8ce5e7c53ff58ca5932a79aa877f732f1c87.tar.xz zsh-completions-531d8ce5e7c53ff58ca5932a79aa877f732f1c87.tar.zst zsh-completions-531d8ce5e7c53ff58ca5932a79aa877f732f1c87.zip | |
Merge pull request #1205 from zsh-users/update-macos-completions
refactoring macOS command completions
Diffstat (limited to 'src')
| -rw-r--r-- | src/_networkQuality | 4 | ||||
| -rw-r--r-- | src/_screencapture | 2 | ||||
| -rw-r--r-- | src/_textutil | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/_networkQuality b/src/_networkQuality index 136edd0..e278b3c 100644 --- a/src/_networkQuality +++ b/src/_networkQuality @@ -34,10 +34,10 @@ # # ------------------------------------------------------------------------------ -_arguments \ +_arguments -s \ '-b[Show Bonjour advertised networkQuality servers]' \ '-B[Run against specified Bonjour instance]:name' \ - '-C[Use custom configuration URL or path]:url_or_path' \ + '-C[Use custom configuration URL or path]:url_or_path:_urls' \ '-f[Force usage of a specific protocol selection]:option:(h1 h2 h3 L4S noL4S)' \ '-I[Bind test to interface]:interface:_net_interfaces' \ '-M[Maximum runtime in seconds]:seconds' \ diff --git a/src/_screencapture b/src/_screencapture index 43b4830..874d8b1 100644 --- a/src/_screencapture +++ b/src/_screencapture @@ -34,7 +34,7 @@ # # ------------------------------------------------------------------------------ -_arguments \ +_arguments -s \ '-c[force screen capture to go to the clipboard]' \ '(-i -J -s -w -W)-b[capture touch bar only non interactive modes]' \ '(-b -i -J -s -w -W)-C[capture the cursor as well as the screen only in non interactive modes]' \ diff --git a/src/_textutil b/src/_textutil index 938222e..abfc75c 100644 --- a/src/_textutil +++ b/src/_textutil @@ -39,15 +39,15 @@ local -a format=(txt html rtf rtfd doc docx wordml odt webarchive) _arguments -S \ '-help[Show the usage information for the command and exit]' \ '-info[Display information about the specified files]' \ - '-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)" \ + '-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))' \ '-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' \ '-stdin[Specify that input should be read from stdin rather than from files]' \ '-stdout[Specify that the first output file should go to stdout]' \ - '-encoding[Specify the encoding to be used for plain text or HTML output files]:encode' \ + '-encoding[Specify the encoding to be used for plain text or HTML output files]:name' \ '-inputencoding[Force all plain text input files to be interpreted using the specified encoding]' \ - '-format[Force all input files to be interpreted using the indicated format]:format:'"($format)" \ + '-format[Force all input files to be interpreted using the indicated format]:format:(($format))' \ '-font[Specify the name of the font to be used for converting plain to rich text]:font' \ '-fontsize[Specify the size in points of the font to be used for converting plain to rich text]:size' \ '-noload[Do not load subsidiary resources]' \ |
