mirror of https://github.com/docker/cli.git
Add bash completion for `--security-opt systempaths=unconfined`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
f28d9cc929
commit
1648d6c4a4
|
@ -2112,8 +2112,8 @@ _docker_container_run_and_create() {
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--security-opt)
|
--security-opt)
|
||||||
COMPREPLY=( $( compgen -W "apparmor= label= no-new-privileges seccomp=" -- "$cur") )
|
COMPREPLY=( $( compgen -W "apparmor= label= no-new-privileges seccomp= systempaths=unconfined" -- "$cur") )
|
||||||
if [ "${COMPREPLY[*]}" != "no-new-privileges" ] ; then
|
if [[ ${COMPREPLY[*]} = *= ]] ; then
|
||||||
__docker_nospace
|
__docker_nospace
|
||||||
fi
|
fi
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue