diff options
| author | dana <dana@dana.is> | 2026-04-29 23:42:50 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2026-04-29 23:43:12 -0500 |
| commit | 61fcbb74e97e020a55b4781070fb5779e413c3d1 (patch) | |
| tree | 5e9c256d4dbcae131c564d567bf759a2d39b20fa /Completion/Linux | |
| parent | 54376: zparseopts: use standard option parsing (diff) | |
| download | zsh-61fcbb74e97e020a55b4781070fb5779e413c3d1.tar zsh-61fcbb74e97e020a55b4781070fb5779e413c3d1.tar.gz zsh-61fcbb74e97e020a55b4781070fb5779e413c3d1.tar.bz2 zsh-61fcbb74e97e020a55b4781070fb5779e413c3d1.tar.lz zsh-61fcbb74e97e020a55b4781070fb5779e413c3d1.tar.xz zsh-61fcbb74e97e020a55b4781070fb5779e413c3d1.tar.zst zsh-61fcbb74e97e020a55b4781070fb5779e413c3d1.zip | |
unposted: _opkg: guard zparseopts long-option specs
see w/54376
Diffstat (limited to 'Completion/Linux')
| -rw-r--r-- | Completion/Linux/Command/_opkg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Linux/Command/_opkg b/Completion/Linux/Command/_opkg index ddaefe1eb..f726a3e32 100644 --- a/Completion/Linux/Command/_opkg +++ b/Completion/Linux/Command/_opkg @@ -181,7 +181,7 @@ _opkg_dest_path() { _opkg_pkg_all() { local -a upd copts - zparseopts -a upd -D -E -update + zparseopts -a upd -D -E - -update copts=( "$@" ) { (( ! $#_opkg_cache_pkg_all )) || _cache_invalid opkg-pkg-all } && @@ -207,7 +207,7 @@ _opkg_pkg_all() { _opkg_pkg_inst() { local -a upd copts - zparseopts -a upd -D -E -update + zparseopts -a upd -D -E - -update copts=( "$@" ) { (( ! $#_opkg_cache_pkg_inst )) || _cache_invalid opkg-pkg-inst } && @@ -233,7 +233,7 @@ _opkg_pkg_inst() { _opkg_pkg_new() { local -a upd copts - zparseopts -a upd -D -E -update + zparseopts -a upd -D -E - -update copts=( "$@" ) { (( ! $#_opkg_cache_pkg_new )) || _cache_invalid opkg-pkg-new } && @@ -257,7 +257,7 @@ _opkg_pkg_new() { _opkg_pkg_upgr() { local -a upd copts - zparseopts -a upd -D -E -update + zparseopts -a upd -D -E - -update copts=( "$@" ) { (( ! $#_opkg_cache_pkg_upgr )) || _cache_invalid opkg-pkg-upgr } && |
