update bash completions for push and pull

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Upstream-commit: 5420ca8cde
Component: cli
This commit is contained in:
Jessica Frazelle
2017-06-02 00:07:27 +00:00
committed by Tibor Vass
parent 5a7e5302c6
commit 4076bc780d
@@ -1466,7 +1466,7 @@ _docker_ps() {
_docker_pull() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--all-tags -a --help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--all-tags -a --disable-content-trust=false --help" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag)
@@ -1488,7 +1488,7 @@ _docker_pull() {
_docker_push() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--disable-content-trust=false --help" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag)