summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrusty-snake <41237666+rusty-snake@users.noreply.github.com>2022-03-19 22:01:26 +0100
committerrusty-snake <41237666+rusty-snake@users.noreply.github.com>2022-03-22 16:59:25 +0100
commit7a67c22df83b4a85111f3903d10b869594b307eb (patch)
tree762308fe4639b5c769b8cc6a23b406bb7a0a16b1
parent90e46b5ee3afda2e29c6f393cf265064116f6894 (diff)
downloadbubblewrap-7a67c22df83b4a85111f3903d10b869594b307eb.tar.gz
Add --add-seccomp-fd to bash/zsh completion
Signed-off-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
-rw-r--r--completions/bash/bwrap1
-rw-r--r--completions/zsh/_bwrap1
2 files changed, 2 insertions, 0 deletions
diff --git a/completions/bash/bwrap b/completions/bash/bwrap
index 59928a8..c57d9ab 100644
--- a/completions/bash/bwrap
+++ b/completions/bash/bwrap
@@ -28,6 +28,7 @@ _bwrap() {
# Please keep sorted in LC_ALL=C order
local options_with_args="
$boolean_optons
+ --add-seccomp-fd
--args
--bind
--bind-data
diff --git a/completions/zsh/_bwrap b/completions/zsh/_bwrap
index 5a9d2fd..1e365f0 100644
--- a/completions/zsh/_bwrap
+++ b/completions/zsh/_bwrap
@@ -14,6 +14,7 @@ _bwrap_args=(
$_bwrap_args_after_perms
# Please sort alphabetically (in LC_ALL=C order) by option name
+ '--add-seccomp-fd[Load and use seccomp rules from FD]: :_guard "[0-9]#" "file descriptor to read seccomp rules from"'
'--args[Parse NUL-separated args from FD]: :_guard "[0-9]#" "file descriptor with NUL-separated arguments"'
'--as-pid-1[Do not install a reaper process with PID=1]'
'--bind-try[Equal to --bind but ignores non-existent SRC]:source:_files:destination:_files'