summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-03-22 17:52:50 +0000
committerGitHub <noreply@github.com>2022-03-22 17:52:50 +0000
commit8b5cba1a6316405b09ca935c715c22ed8750fa2c (patch)
treefd0ba739de64384c4099f143789ddfee52727e9e
parent920c88e0badf314b02cd2d6a2fbae1dae853b24e (diff)
parent7a67c22df83b4a85111f3903d10b869594b307eb (diff)
downloadbubblewrap-8b5cba1a6316405b09ca935c715c22ed8750fa2c.tar.gz
Merge pull request #483 from rusty-snake/add-seccomp-fd-completions
Add --add-seccomp-fd to bash/zsh completion
-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'