mirror of https://github.com/docker/docs.git
Merge pull request #19642 from albers/completion-tag-f
Remove completion for `docker tag -f`
This commit is contained in:
commit
460f491457
|
@ -1850,7 +1850,7 @@ _docker_stop() {
|
|||
_docker_tag() {
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--force -f --help" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
local counter=$(__docker_pos_first_nonflag)
|
||||
|
|
|
@ -967,7 +967,6 @@ __docker_subcommand() {
|
|||
(tag)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help -f --force)"{-f,--force}"[force]"\
|
||||
"($help -):source:__docker_images"\
|
||||
"($help -):destination:__docker_repositories_with_tags" && ret=0
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue