From dcdbd84452bbf4823cfb36725037022aa913115b Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Thu, 17 Dec 2015 10:20:22 +0530 Subject: [PATCH] Updated the bash completion with new options added. now changes should reflect the following: dm ls --timeout dm env --no-proxy dm --bugsnag-api-token --github-api-token Signed-off-by: Anil Belur --- contrib/completion/bash/docker-machine.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/completion/bash/docker-machine.bash b/contrib/completion/bash/docker-machine.bash index bca335ad..70a3f4e2 100644 --- a/contrib/completion/bash/docker-machine.bash +++ b/contrib/completion/bash/docker-machine.bash @@ -43,7 +43,7 @@ _docker_machine_env() { ;; *) if [[ "${cur}" == -* ]]; then - COMPREPLY=($(compgen -W "--swarm --shell --unset --help" -- "${cur}")) + COMPREPLY=($(compgen -W "--swarm --shell --unset --no-proxy --help" -- "${cur}")) else COMPREPLY=($(compgen -W "$(docker-machine ls -q)" -- "${cur}")) fi @@ -96,7 +96,7 @@ _docker_machine_ls() { COMPREPLY=() ;; *) - COMPREPLY=($(compgen -W "--quiet --filter --help" -- "${cur}")) + COMPREPLY=($(compgen -W "--quiet --filter --timeout --help" -- "${cur}")) ;; esac } @@ -217,7 +217,7 @@ _docker_machine() { COMPREPLY=() local commands=(active config create env inspect ip kill ls regenerate-certs restart rm ssh scp start status stop upgrade url help) - local flags=(--debug --native-ssh --help --version) + local flags=(--debug --native-ssh --github-api-token --bugsnag-api-token --help --version) local wants_dir=(--storage-path) local wants_file=(--tls-ca-cert --tls-ca-key --tls-client-cert --tls-client-key)