mirror of https://github.com/docker/cli.git
bash completion for `docker {run,create} --volume-driver`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
4978171903
commit
d998542977
|
@ -1397,6 +1397,7 @@ _docker_run() {
|
|||
--ulimit
|
||||
--user -u
|
||||
--uts
|
||||
--volume-driver
|
||||
--volumes-from
|
||||
--volume -v
|
||||
--workdir -w
|
||||
|
@ -1541,6 +1542,10 @@ _docker_run() {
|
|||
esac
|
||||
return
|
||||
;;
|
||||
--volume-driver)
|
||||
COMPREPLY=( $( compgen -W "local" -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
--volumes-from)
|
||||
__docker_containers_all
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue