Merge pull request #19642 from albers/completion-tag-f

Remove completion for `docker tag -f`
This commit is contained in:
Vincent Demeester 2016-01-24 22:10:23 +01:00
commit 460f491457
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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
;;