diff options
author | Simon McVittie <smcv@collabora.com> | 2021-06-24 10:30:24 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-06-24 11:12:49 +0100 |
commit | ceea5509e3ae75ca1ad35564d4fbca7359f238d1 (patch) | |
tree | 5aa33d0d1b6c813b8d2b4d820fda38d52f4e92a2 | |
parent | 6a21612e6028d521f43d52b54dabea113238590d (diff) | |
download | bubblewrap-ceea5509e3ae75ca1ad35564d4fbca7359f238d1.tar.gz |
zsh: Label more arguments
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rwxr-xr-x | completions/zsh/_bwrap | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/zsh/_bwrap b/completions/zsh/_bwrap index 4f7b8a4..58c6957 100755 --- a/completions/zsh/_bwrap +++ b/completions/zsh/_bwrap @@ -10,9 +10,9 @@ _bwrap_args=( '--bind-try[Equal to --bind but ignores non-existent SRC]:source:_files:destination:_files' '--bind[Bind mount the host path SRC on DEST]:source:_files:destination:_files' '--block-fd[Block on FD until some data to read is available]: :_guard "[0-9]#" "file descriptor to block on"' - '--cap-add[Add cap CAP when running as privileged user]: :->caps' - '--cap-drop[Drop cap CAP when running as privileged user]: :->caps' - '--chdir DIR[Change directory to DIR]: : _files -/' + '--cap-add[Add cap CAP when running as privileged user]:capability to add:->caps' + '--cap-drop[Drop cap CAP when running as privileged user]:capability to add:->caps' + '--chdir DIR[Change directory to DIR]:working directory for sandbox: _files -/' '--dev-bind-try[Equal to --dev-bind but ignores non-existent SRC]:source:_files:destination:_files' '--dev-bind[Bind mount the host path SRC on DEST, allowing device access]:source:_files:destination:_files' '--dev[Mount new dev on DEST]:mount point for /dev:_files -/' @@ -23,7 +23,7 @@ _bwrap_args=( '--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)]: :_guard "[0-9]#" "numeric group ID"' '--help[Print help and exit]' - '--hostname[Custom hostname in the sandbox (requires --unshare-uts)]: :' + '--hostname[Custom hostname in the sandbox (requires --unshare-uts)]:hostname:' '--info-fd[Write information about the running container to FD]: :_guard "[0-9]#" "file descriptor to write to"' '--json-status-fd[Write container status to FD as multiple JSON documents]: :_guard "[0-9]#" "file descriptor to write to"' '--lock-file[Take a lock on DEST while sandbox is running]:lock file:_files' |