mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add some basic bash completion for seccomp values
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
parent
fdcce4ac03
commit
75aa7dbe4f
1 changed files with 5 additions and 0 deletions
|
@ -1768,6 +1768,11 @@ _docker_run() {
|
||||||
__docker_nospace
|
__docker_nospace
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
seccomp:*)
|
||||||
|
local cur=${cur##*:}
|
||||||
|
_filedir
|
||||||
|
COMPREPLY+=( $( compgen -W "unconfined" -- "$cur" ) )
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
COMPREPLY=( $( compgen -W "label apparmor seccomp" -S ":" -- "$cur") )
|
COMPREPLY=( $( compgen -W "label apparmor seccomp" -S ":" -- "$cur") )
|
||||||
__docker_nospace
|
__docker_nospace
|
||||||
|
|
Loading…
Reference in a new issue