Skip to content

Commit

Permalink
Merge pull request #19642 from albers/completion-tag-f
Browse files Browse the repository at this point in the history
Remove completion for `docker tag -f`
  • Loading branch information
vdemeester committed Jan 24, 2016
2 parents a3cfdb5 + 1bd5424 commit 460f491
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion contrib/completion/zsh/_docker
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 460f491

Please sign in to comment.