mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Add bash completion for stack ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
committed by
Tibor Vass
parent
3e646fed80
commit
513ea82edd
@@ -4033,9 +4033,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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user