diff options
author | Simon McVittie <smcv@collabora.com> | 2021-06-24 10:23:37 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-06-24 11:12:49 +0100 |
commit | c5ad19e805e706372787bcdaed2126779cefdee2 (patch) | |
tree | 606325da5cf11f0d36a1ec447ada2addc1b8fda0 | |
parent | f1a3a490e0bb9eb8ab1ff2f187b1e1d388b080c7 (diff) | |
download | bubblewrap-c5ad19e805e706372787bcdaed2126779cefdee2.tar.gz |
zsh: Complete --uid, --gid as integers
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rwxr-xr-x | completions/zsh/_bwrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/zsh/_bwrap b/completions/zsh/_bwrap index 06ff5c9..297e505 100755 --- a/completions/zsh/_bwrap +++ b/completions/zsh/_bwrap @@ -21,7 +21,7 @@ _bwrap_args=( '--exec-label[Exec label for the sandbox]:SELinux label:_selinux_contexts' '--file-label[File label for temporary sandbox content]:SELinux label:_selinux_contexts' '--file[Copy from FD to destination DEST]: :_guard "[0-9]#" "file descriptor to read content from":destination:_files' - '--gid[Custom gid in the sandbox (requires --unshare-user or --userns)]: :' + '--gid[Custom gid in the sandbox (requires --unshare-user or --userns)]: :_guard "[0-9]#" "numeric group ID"' '--help[Print help and exit]' '--hostname[Custom hostname in the sandbox (requires --unshare-uts)]: :' '--info-fd[Write information about the running container to FD]: :_guard "[0-9]#" "file descriptor to write to"' @@ -40,7 +40,7 @@ _bwrap_args=( '--symlink[Create symlink at DEST with target SRC]: : :' '--sync-fd[Keep this fd open while sandbox is running]: :_guard "[0-9]#" "file descriptor to keep open"' '--tmpfs[Mount new tmpfs on DEST]:mount point for tmpfs:_files -/' - '--uid[Custom uid in the sandbox (requires --unshare-user or --userns)]: :' + '--uid[Custom uid in the sandbox (requires --unshare-user or --userns)]: :_guard "[0-9]#" "numeric group ID"' '--unsetenv[Unset an environment variable]: :' '--unshare-all[Unshare every namespace we support by default]' '--unshare-cgroup-try[Create new cgroup namespace if possible else continue by skipping it]' |