Add some basic bash completion for seccomp values

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Upstream-commit: 75aa7dbe4f24cd8ac293f304f0d556c90200eea0
Component: engine
This commit is contained in:
Tianon Gravi
2016-02-03 13:48:34 -08:00
parent e930e772f5
commit a9dee671aa

View File

@ -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