bash completion for docker {run,create} --storage-opt
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
2753a5e916
commit
7d2ffa00c0
1 changed files with 6 additions and 0 deletions
|
@ -2176,6 +2176,7 @@ _docker_run() {
|
||||||
--security-opt
|
--security-opt
|
||||||
--shm-size
|
--shm-size
|
||||||
--stop-signal
|
--stop-signal
|
||||||
|
--storage-opt
|
||||||
--tmpfs
|
--tmpfs
|
||||||
--sysctl
|
--sysctl
|
||||||
--ulimit
|
--ulimit
|
||||||
|
@ -2362,6 +2363,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 a new issue