mirror of https://github.com/docker/cli.git
bash completion for `docker {run,create} --storage-opt`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
1ffefe059f
commit
789cd4c65f
|
@ -2180,6 +2180,7 @@ _docker_run() {
|
||||||
--security-opt
|
--security-opt
|
||||||
--shm-size
|
--shm-size
|
||||||
--stop-signal
|
--stop-signal
|
||||||
|
--storage-opt
|
||||||
--tmpfs
|
--tmpfs
|
||||||
--sysctl
|
--sysctl
|
||||||
--ulimit
|
--ulimit
|
||||||
|
@ -2366,6 +2367,11 @@ _docker_run() {
|
||||||
fi
|
fi
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
--storage-opt)
|
||||||
|
COMPREPLY=( $( compgen -W "size" -S = -- "$cur") )
|
||||||
|
__docker_nospace
|
||||||
|
return
|
||||||
|
;;
|
||||||
--user|-u)
|
--user|-u)
|
||||||
__docker_complete_user_group
|
__docker_complete_user_group
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue