diff options
| author | Oliver Kiddle <opk@zsh.org> | 2021-08-29 17:08:34 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2021-08-29 17:08:34 +0200 |
| commit | a9386df5581487e5e34ecb3ce422bacf62d10c3d (patch) | |
| tree | 06f05ac1ef1e4d502ae50e42c3a5fc1dabbf8baa /Completion/Unix/Command/_sudo | |
| parent | 49317: cleanup inappropriate use of {...} specs with _arguments or _alternative (diff) | |
| download | zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.tar zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.tar.gz zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.tar.bz2 zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.tar.lz zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.tar.xz zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.tar.zst zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.zip | |
49319: completion options update
Diffstat (limited to 'Completion/Unix/Command/_sudo')
| -rw-r--r-- | Completion/Unix/Command/_sudo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_sudo b/Completion/Unix/Command/_sudo index e3d12d72f..29e5e6d75 100644 --- a/Completion/Unix/Command/_sudo +++ b/Completion/Unix/Command/_sudo @@ -14,7 +14,9 @@ done args=( '(-A --askpass)'{-A,--askpass}'[use a helper program for password prompting]' + '(-B --bell)'{-B,--bell}'[ring bell when prompting]' '(-C --close-from)'{-C+,--close-from=}'[close file descriptors]:lowest fd to close' + '(-D --chdir)'{-D+,--chdir=}'[change the working directory before running command]:directory:_directories' '(-g --group)'{-g+,--group=}'[run command as the specified group name or ID]:group:_groups' '(-)'{-h,--help}'[display help message and exit]' '(-h --host)'{-h+,--host=}'[run command on host]:host:_hosts' @@ -23,6 +25,7 @@ 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 --chroot)'{-R+,--chroot=}'[change the root directory before running command]:directory:_directories' '(-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]: :_selinux_types' |
