Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added 'docker build --target' to zsh completion #2638

Merged

Conversation

mirogula
Copy link

Signed-off-by: Miroslav Gula [email protected]

- What I did
Added 'docker build --targer' completion option for zsh.
- How I did it
Added line "($help)--target=[Set the target build stage to build.]" to 'contrib/completion/zsh/_docker' file.
- How to verify it

  • switch to zsh shell
  • try to complete command 'docker build --tar' with TAB key. It should auto-complete the --target switch.
    - Description for the changelog

Added --target completion option for docker build command in zsh shell.

- A picture of a cute animal (not mandatory but encouraged)

@codecov-commenter
Copy link

Codecov Report

Merging #2638 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2638   +/-   ##
=======================================
  Coverage   58.13%   58.13%           
=======================================
  Files         295      295           
  Lines       21194    21194           
=======================================
  Hits        12321    12321           
  Misses       7966     7966           
  Partials      907      907           

@thaJeztah thaJeztah changed the title added 'docker build --taget' to zsh completion added 'docker build --target' to zsh completion Jul 21, 2020
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@tiborvass tiborvass merged commit aca38b3 into docker:master Jul 21, 2020
@thaJeztah thaJeztah added this to the 20.03.0 milestone Aug 17, 2020
@mirogula mirogula deleted the feature/add-build-target-zsh-completion branch November 5, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants