diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-03 14:44:01 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-03 14:44:01 +0000 |
commit | aa0381bd2b64ad6ea1e24110c1c2ec6773f9288e (patch) | |
tree | f9b2e23776f0510c2cb771bb882d5731b0a3b289 /Completion/User/_sudo | |
parent | 17e79c01575b26e28e5f978d99cff250a6d9e63b (diff) | |
download | zsh-aa0381bd2b64ad6ea1e24110c1c2ec6773f9288e.tar.gz zsh-aa0381bd2b64ad6ea1e24110c1c2ec6773f9288e.tar.xz zsh-aa0381bd2b64ad6ea1e24110c1c2ec6773f9288e.zip |
allow `-' in exclusion lists for _arguments, to avoid completing all options (11121)
Diffstat (limited to 'Completion/User/_sudo')
-rw-r--r-- | Completion/User/_sudo | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/Completion/User/_sudo b/Completion/User/_sudo index cfa8172fb..2b5a5cb7d 100644 --- a/Completion/User/_sudo +++ b/Completion/User/_sudo @@ -1,15 +1,19 @@ #compdef sudo _arguments \ - '-V[show version]' \ - '-l[list commands]' \ - '-h[show help]' \ - '-v[validate timestamp file]' \ - '-k[remove timestamp file]' \ - '-b[run command in background]' \ - '-r:Kerberos realm:' \ - '-p:prompt:' \ - '-u:user name:_users' \ - '-s[run SHELL]' \ - '-H[set HOME environment variable]' \ - '*::command and arguments:_normal' + '-V[show version]' \ + '-l[list allowed commands]' \ + '-L[list options from Default section]' \ + '-h[show help]' \ + '-v[validate user timestamp]' \ + '-k[invalidate user timestamp]' \ + '-K[remove user timestamp]' \ + '-b[run command in background]' \ + '-r[Kerberos realm]:Kerberos realm:' \ + '-p[password prompt]:password prompt:' \ + '-u[user name]:user name:_users' \ + '-s[run SHELL]' \ + '-H[set HOME environment variable]' \ + '-S[read password from stdin]' \ + '(-):command name: _command_names -e' \ + '*::arguments: _normal' |