Skip to content

Commit

Permalink
Merge pull request #3516 from albers/completion-rm--all
Browse files Browse the repository at this point in the history
remove command completion for `docker-compose rm --a`
  • Loading branch information
bfirsh committed Jun 6, 2016
2 parents 427ec89 + c46737e commit 6e2d1eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ _docker_compose_restart() {
_docker_compose_rm() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--all -a --force -f --help -v" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--force -f --help -v" -- "$cur" ) )
;;
*)
__docker_compose_services_stopped
Expand Down
1 change: 0 additions & 1 deletion contrib/completion/zsh/_docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ __docker-compose_subcommand() {
(rm)
_arguments \
$opts_help \
'(-a --all)'{-a,--all}"[Also remove one-off containers]" \
'(-f --force)'{-f,--force}"[Don't ask to confirm removal]" \
'-v[Remove volumes associated with containers]' \
'*:stopped services:__docker-compose_stoppedservices' && ret=0
Expand Down

0 comments on commit 6e2d1eb

Please sign in to comment.