Merge pull request #23803 from albers/completion-run--storage-opt
bash completion for `docker {run,create} --storage-opt`
This commit is contained in:
commit
a1eb6528eb
1 changed files with 6 additions and 0 deletions
|
@ -2180,6 +2180,7 @@ _docker_run() {
|
|||
--security-opt
|
||||
--shm-size
|
||||
--stop-signal
|
||||
--storage-opt
|
||||
--tmpfs
|
||||
--sysctl
|
||||
--ulimit
|
||||
|
@ -2366,6 +2367,11 @@ _docker_run() {
|
|||
fi
|
||||
return
|
||||
;;
|
||||
--storage-opt)
|
||||
COMPREPLY=( $( compgen -W "size" -S = -- "$cur") )
|
||||
__docker_nospace
|
||||
return
|
||||
;;
|
||||
--user|-u)
|
||||
__docker_complete_user_group
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue