Merge pull request #1849 from albers/completion-systempaths-unconfined

Add bash completion for `--security-opt systempaths=unconfined`
This commit is contained in:
Vincent Demeester 2019-04-26 09:05:29 +02:00 committed by GitHub
commit 301c638d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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