Re-order flags in bash completion

and remove unnecessary variables from build command.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-11-10 13:11:59 -05:00
commit 338bbb5063
2 changed files with 6 additions and 5 deletions

View file

@ -93,7 +93,7 @@ __docker_compose_services_stopped() {
_docker_compose_build() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help --force-rm --no-cache --pull" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--force-rm --help --no-cache --pull" -- "$cur" ) )
;;
*)
__docker_compose_services_from_build