mirror of https://github.com/docker/cli.git
Merge pull request #382 from albers/completion-service-scale--detach
Add bash completion for `service scale --detach`
This commit is contained in:
commit
a74e2135e4
|
@ -3199,7 +3199,7 @@ _docker_service_rm() {
|
||||||
_docker_service_scale() {
|
_docker_service_scale() {
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--detach=false -d=false --help" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
__docker_complete_services
|
__docker_complete_services
|
||||||
|
|
Loading…
Reference in New Issue