Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix support for --env-file in bash completion#8561

Merged
tianon merged 1 commit into
moby:masterfrom
albers:bash-completion
Oct 17, 2014
Merged

Fix support for --env-file in bash completion#8561
tianon merged 1 commit into
moby:masterfrom
albers:bash-completion

Conversation

@albers

@albers albers commented Oct 14, 2014

Copy link
Copy Markdown
Member

The --env-file option of docker run and docker create in bash completion is not implemented properly.

To reproduce:

  • In bash, type docker run --en and tab twice. The available completions will be: --entrypoint --env
  • In bash, type docker create --en and tab twice. The available completions will be: --entrypoint --env

This PR adds the missing option.

@vieux

vieux commented Oct 14, 2014

Copy link
Copy Markdown
Contributor

ping @jfrazelle

@jessfraz

Copy link
Copy Markdown
Contributor

nice LGTM

@jessfraz

Copy link
Copy Markdown
Contributor

ping @tianon

@tianon

tianon commented Oct 17, 2014

Copy link
Copy Markdown
Member

Oh we are out of freeze :D

LGTM

tianon added a commit that referenced this pull request Oct 17, 2014
Fix support for --env-file in bash completion
@tianon tianon merged commit fb5e652 into moby:master Oct 17, 2014
@albers albers deleted the bash-completion branch October 18, 2014 11:20
@albers

albers commented Nov 3, 2014

Copy link
Copy Markdown
Member Author

I'm quite disappointed that the recent 1.3.1 release (Debian package) ships with the old version of bash completion, not including this change (I verified the package contents manually).

Is there some kind of manual step required for including the bash completion into the build that is not properly documented?

I'd really like to see this included in the next release.

@tianon

tianon commented Nov 3, 2014

Copy link
Copy Markdown
Member

It will be in the next major release (1.4). Minor releases are only for
hotfixes and security.

@albers

albers commented Nov 4, 2014

Copy link
Copy Markdown
Member Author

That makes sense. Thanks for clarifying, and for doing it so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants