mirror of https://github.com/docker/cli.git
Add some basic bash completion for seccomp values
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
parent
bb1e32b5e1
commit
3dd7289df6
|
@ -1768,6 +1768,11 @@ _docker_run() {
|
|||
__docker_nospace
|
||||
fi
|
||||
;;
|
||||
seccomp:*)
|
||||
local cur=${cur##*:}
|
||||
_filedir
|
||||
COMPREPLY+=( $( compgen -W "unconfined" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $( compgen -W "label apparmor seccomp" -S ":" -- "$cur") )
|
||||
__docker_nospace
|
||||
|
|
Loading…
Reference in New Issue