about summary refs log tree commit diff
path: root/Completion/User/_sudo
blob: 2b5a5cb7dee8b6d1fb9ab20201b80735735c18b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#compdef sudo

_arguments \
       '-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'