Skip to content

Commit dcdbd84

Browse files
committed
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 <askb23@gmail.com>
1 parent 32795c9 commit dcdbd84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/completion/bash/docker-machine.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ _docker_machine_env() {
4343
;;
4444
*)
4545
if [[ "${cur}" == -* ]]; then
46-
COMPREPLY=($(compgen -W "--swarm --shell --unset --help" -- "${cur}"))
46+
COMPREPLY=($(compgen -W "--swarm --shell --unset --no-proxy --help" -- "${cur}"))
4747
else
4848
COMPREPLY=($(compgen -W "$(docker-machine ls -q)" -- "${cur}"))
4949
fi
@@ -96,7 +96,7 @@ _docker_machine_ls() {
9696
COMPREPLY=()
9797
;;
9898
*)
99-
COMPREPLY=($(compgen -W "--quiet --filter --help" -- "${cur}"))
99+
COMPREPLY=($(compgen -W "--quiet --filter --timeout --help" -- "${cur}"))
100100
;;
101101
esac
102102
}
@@ -217,7 +217,7 @@ _docker_machine() {
217217
COMPREPLY=()
218218
local commands=(active config create env inspect ip kill ls regenerate-certs restart rm ssh scp start status stop upgrade url help)
219219

220-
local flags=(--debug --native-ssh --help --version)
220+
local flags=(--debug --native-ssh --github-api-token --bugsnag-api-token --help --version)
221221
local wants_dir=(--storage-path)
222222
local wants_file=(--tls-ca-cert --tls-ca-key --tls-client-cert --tls-client-key)
223223

0 commit comments

Comments
 (0)