Skip to content

Commit

Permalink
Add bash completion for build --iidfile
Browse files Browse the repository at this point in the history
This adds bash completion for moby/moby#32406.

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 1f8720717d58597cb4474e70fa6d534db132229b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
albers authored and thaJeztah committed Jul 25, 2017
1 parent ec964c5 commit 4314a65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -2221,6 +2221,7 @@ _docker_image_build() {
--cpu-period
--cpu-quota
--file -f
--iidfile
--label
--memory -m
--memory-swap
Expand Down Expand Up @@ -2265,7 +2266,7 @@ _docker_image_build() {
__docker_complete_image_repos_and_tags
return
;;
--file|-f)
--file|-f|--iidfile)
_filedir
return
;;
Expand Down

0 comments on commit 4314a65

Please sign in to comment.