diff options
Diffstat (limited to 'Completion/Debian/Command/_dput')
-rw-r--r-- | Completion/Debian/Command/_dput | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/Completion/Debian/Command/_dput b/Completion/Debian/Command/_dput index 5fe9847d1..64b682c6f 100644 --- a/Completion/Debian/Command/_dput +++ b/Completion/Debian/Command/_dput @@ -1,27 +1,14 @@ #compdef dput -if (( ! $+_dput_sites )); then - _dput_sites=( ${${(M)${(f)"$(</etc/dput.cf)"}:#\[*}//[][]/} ) -fi - -_arguments '(-c)--config[config file]:config file:' \ - '(--config)-c[config file]:config file:' \ - '(--debug)-d[debug mode]' \ - '(-d)--debug[debug mode]' \ - '(--dinstall)-D[run dinstall after upload]' \ - '(-D)--dinstall[run dinstall after upload]' \ - '(--force)-f[force upload of already uploaded package]' \ - '(-f)--force[force upload of already uploaded package]' \ - '(--lintian)-l[run lintian before upload]' \ - '(-l)--lintian[run lintian before upload]' \ - '(-o)--check-only[check the package, do not upload]' \ - '(--check-only)-o[check the package, do not upload]' \ - '(--print)-p[print configuration]' \ - '(-p)--print[print configuration]' \ - '(--simulate)-s[simulate an upload only]' \ - '(-s)--simulate[simulate an upload only]' \ - '(--unchecked)-u[do not check GPG signature on the changes file]' \ - '(-u)--unchecked[do not check GPG signature on the changes file]' \ - '(-v)--version[version]' \ - '(--version)-v[version]' \ - '*:changes file:_files -g \*.changes' \ +_arguments \ + '(-c --config)'{-c,--config}'[specify config file]:config file:_files' \ + '(-d --debug)'{-d,--debug}'[debug mode]' \ + '(-D --dinstall)'{-D,--dinstall}'[run dinstall after upload]' \ + '(-f --force)'{-f,--force}'[force upload of already uploaded package]' \ + '(-l --lintian)'{-l,--lintian}'[run lintian before upload]' \ + '(-o --check-only)'{-o,--check-only}'[check the package, do not upload]' \ + '(-p --print)'{-p,--print}'[print configuration]' \ + '(-s --simulate)'{-s,--simulare}'[simulate an upload only]' \ + '(-u --unchecked)'{-u,--unchecked}'[do not check GPG signature on the changes file]' \ + '(-v --version)'{-v,--version}'[show version information]' \ + '*:changes file:_files -g \*.changes' |