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

Add missing options to bash completion for docker build #17107

Merged
merged 2 commits into from Oct 16, 2015

Conversation

albers
Copy link
Member

@albers albers commented Oct 16, 2015

Ref: #15182
This adds the new --build-arg and the missing --disable-content-trust to bash completion for docker build.

Hint: the completion of --build-arg is the same as for docker run -e.

As the option lists got too long, I refactored it to use the idioms used in completion for docker run.

Thanks @sdurrheimer for the ping.
As this PR is not trivial, ping @jfrazelle, @tianon for review.

@albers albers changed the title Add missing options to docker build Add missing options to bash completion for docker build Oct 16, 2015
Signed-off-by: Harald Albers <github@albersweb.de>
Signed-off-by: Harald Albers <github@albersweb.de>
@vdemeester
Copy link
Member

Added this to 1.9.0 milestone (as the command is in there).

@vdemeester vdemeester added this to the 1.9.0 milestone Oct 16, 2015
@calavera
Copy link
Contributor

LGTM

--cgroup-parent
--cpuset-cpus
--cpuset-mems
--cpu-shares -c
Copy link
Contributor

Choose a reason for hiding this comment

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

@albers you should remove -c, see #16271

Copy link
Contributor

Choose a reason for hiding this comment

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

arg this is on build... we need to remove it from build too :(
EDIT see #17117

Copy link
Member

Choose a reason for hiding this comment

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

Handling it here #17119 😉

Copy link
Member Author

Choose a reason for hiding this comment

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

@vdemeester Thanks for taking care of -c.

@tiborvass
Copy link
Contributor

LGTM

tiborvass added a commit that referenced this pull request Oct 16, 2015
Add missing options to bash completion for `docker build`
@tiborvass tiborvass merged commit b1bab9e into moby:master Oct 16, 2015
@albers albers deleted the completion-build branch October 17, 2015 13:23
@tiborvass tiborvass removed their assignment Oct 22, 2015
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.

None yet

5 participants