mirror of
https://github.com/docker/compose.git
synced 2026-06-26 11:12:14 +00:00
Merge pull request #5453 from albers/completion-down--timeout
Add bash completion for `down --timeout`
This commit is contained in:
commit
b2c52178ba
1 changed files with 4 additions and 1 deletions
|
|
@ -194,11 +194,14 @@ _docker_compose_down() {
|
|||
COMPREPLY=( $( compgen -W "all local" -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
--timeout|-t)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help --rmi --volumes -v --remove-orphans" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--help --rmi --timeout -t --volumes -v --remove-orphans" -- "$cur" ) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue