mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add bash completion for stack ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
d90fb13de7
commit
b065ed3ec2
1 changed files with 7 additions and 1 deletions
|
@ -4028,9 +4028,15 @@ _docker_stack_list() {
|
|||
}
|
||||
|
||||
_docker_stack_ls() {
|
||||
case "$prev" in
|
||||
--format)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--format --help" -- "$cur" ) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue