Skip to content

Commit

Permalink
Add bash completion for --project-directory
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Albers <[email protected]>
  • Loading branch information
albers committed Mar 16, 2017
1 parent a182300 commit de2dd5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/completion/bash/docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ _docker_compose_docker_compose() {
_filedir "y?(a)ml"
return
;;
--project-directory)
_filedir -d
return
;;
$(__docker_compose_to_extglob "$daemon_options_with_args") )
return
;;
Expand Down Expand Up @@ -554,6 +558,7 @@ _docker_compose() {
local daemon_options_with_args="
--file -f
--host -H
--project-directory
--project-name -p
--tlscacert
--tlscert
Expand Down

0 comments on commit de2dd5b

Please sign in to comment.