diff options
author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2019-09-27 00:27:45 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2019-09-27 00:27:45 +0200 |
commit | 4f48ce208b89b0790f113642aab200a65abf7816 (patch) | |
tree | 077ab574515a61bc05c3e7f38a7493678f52a1f3 /Completion/Unix/Command/_sudo | |
parent | 81be5d1dceae907052858d3c2140a109d5c3f553 (diff) | |
download | zsh-4f48ce208b89b0790f113642aab200a65abf7816.tar.gz zsh-4f48ce208b89b0790f113642aab200a65abf7816.tar.xz zsh-4f48ce208b89b0790f113642aab200a65abf7816.zip |
44781: add completion of SELinux contexts
Diffstat (limited to 'Completion/Unix/Command/_sudo')
-rw-r--r-- | Completion/Unix/Command/_sudo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_sudo b/Completion/Unix/Command/_sudo index 10fa2e82e..41e32cbae 100644 --- a/Completion/Unix/Command/_sudo +++ b/Completion/Unix/Command/_sudo @@ -23,9 +23,9 @@ args=( \*{-l,--list}"[list user's privileges or check a specific command]" '(-n --non-interactive)'{-n,--non-interactive}'[non-interactive mode, no prompts are used]' '(-p --prompt)'{-p+,--prompt=}'[use the specified password prompt]:prompt' - '(-r --role)'{-r+,--role=}'[create SELinux security context with specified role]:role' + '(-r --role)'{-r+,--role=}'[create SELinux security context with specified role]: :_selinux_roles' '(-S --stdin)'{-S,--stdin}'[read password from standard input]' - '(-t --type)'{-t+,--type=}'[create SELinux security context with specified type]:type' + '(-t --type)'{-t+,--type=}'[create SELinux security context with specified type]: :_selinux_types' '(-T --command-timeout)'{-T+,--command-timeout=}'[terminate command after specified time limit]:timeout' '(-U --other-user)'{-U+,--other-user=}'[in list mode, display privileges for user]:user:_users' '(-u --user)'{-u+,--user=}'[run command (or edit file) as specified user]:user:_users' |