zsh: Label more arguments
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user