Преглед на файлове

Merge pull request #17134 from sdurrheimer/zsh-completion-build-multi-tag

Add zsh completion for 'docker build' multi tags
Sebastiaan van Stijn преди 9 години
родител
ревизия
74b9d89648
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      contrib/completion/zsh/_docker

+ 1 - 1
contrib/completion/zsh/_docker

@@ -467,7 +467,7 @@ __docker_subcommand() {
                 "($help)--pull[Attempt to pull a newer version of the image]" \
                 "($help -q --quiet)"{-q,--quiet}"[Suppress verbose build output]" \
                 "($help)--rm[Remove intermediate containers after a successful build]" \
-                "($help -t --tag)"{-t,--tag=}"[Repository, name and tag for the image]: :__docker_repositories_with_tags" \
+                "($help -t --tag)*"{-t,--tag=}"[Repository, name and tag for the image]: :__docker_repositories_with_tags" \
                 "($help -):path or URL:_directories" && ret=0
             ;;
         (commit)