about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_sudo15
1 files changed, 9 insertions, 6 deletions
diff --git a/Completion/User/_sudo b/Completion/User/_sudo
index d8355f725..71b546680 100644
--- a/Completion/User/_sudo
+++ b/Completion/User/_sudo
@@ -2,15 +2,18 @@
 
 _arguments \
        '-V[show version]' \
-       '-l[list commands]' \
+       '-l[list allowed commands]' \
+       '-L[list options from Default section]' \
        '-h[show help]' \
-       '-v[validate timestamp file]' \
-       '-k[remove timestamp file]' \
+       '-v[validate user timestamp]' \
+       '-k[invalidate user timestamp]' \
+       '-K[remove user timestamp]' \
        '-b[run command in background]' \
-       '-r:Kerberos realm:' \
-       '-p:prompt:' \
-       '-u:user name:_users' \
+       '-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]' \
        ':complete command name: _command_names -e'  \
        '*::arguments: _normal'