diff options
| author | dana <dana@dana.is> | 2026-07-03 06:37:58 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2026-07-03 06:41:21 -0500 |
| commit | 990b45858fe698185734df92c01cfb03d9950c50 (patch) | |
| tree | a1d5c5b8d135174f7b0ea5ca4b9ce67472c357d8 /Completion/Unix/Command | |
| parent | unposted: _pip: remove -b (diff) | |
| download | zsh-990b45858fe698185734df92c01cfb03d9950c50.tar zsh-990b45858fe698185734df92c01cfb03d9950c50.tar.gz zsh-990b45858fe698185734df92c01cfb03d9950c50.tar.bz2 zsh-990b45858fe698185734df92c01cfb03d9950c50.tar.lz zsh-990b45858fe698185734df92c01cfb03d9950c50.tar.xz zsh-990b45858fe698185734df92c01cfb03d9950c50.tar.zst zsh-990b45858fe698185734df92c01cfb03d9950c50.zip | |
unposted: completion: fix ambiguous arg specs
specs beginning with -[AMO] must be guarded
also fix an erroneous -A option in _module-assistant
Diffstat (limited to 'Completion/Unix/Command')
| -rw-r--r-- | Completion/Unix/Command/_ping | 2 | ||||
| -rw-r--r-- | Completion/Unix/Command/_tiff | 2 | ||||
| -rw-r--r-- | Completion/Unix/Command/_zfs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_ping b/Completion/Unix/Command/_ping index 09e5ed1f6..22abd1794 100644 --- a/Completion/Unix/Command/_ping +++ b/Completion/Unix/Command/_ping @@ -242,5 +242,5 @@ case ${variant}:${${service#ping}:-4} in ;; esac -_arguments -s -S $args \ +_arguments -s -S : $args \ '*:host:_hosts' diff --git a/Completion/Unix/Command/_tiff b/Completion/Unix/Command/_tiff index f8c4a1164..f44df0ec9 100644 --- a/Completion/Unix/Command/_tiff +++ b/Completion/Unix/Command/_tiff @@ -173,7 +173,7 @@ tiffmedian) ':output file:_files -g "*.(#i)tif(|f)(-.)"' && ret=0 ;; tiffsplit) - _arguments \ + _arguments : \ '-M+[set the memory allocation limit]:limit (MiB), 0 for unlimited' \ ':input file:_files -g "*.(#i)tif(|f)(-.)"' \ ':output file prefix' && ret=0 diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs index 47e60ec66..412469521 100644 --- a/Completion/Unix/Command/_zfs +++ b/Completion/Unix/Command/_zfs @@ -644,7 +644,7 @@ case $service:$words[1] in '-l[load keys for encrypted filesystems as they are being mounted]' '(-a)-R[mount filesystems along with all their children]' ) - _arguments -A "-*" -S $args \ + _arguments -A "-*" -S : $args \ '(- :)'{-j,--json}'[show all mounted file systems in JSON format]' \ '-o+[specify temporary file system options]: :_values -s , "option" {,no}{atime,dev,exec,relatime,suid,xattr} ro rw' \ '-v[report mount progress]' \ |
