mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Add bash completion for stack ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 513ea82edd
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
aa463e4b97
commit
c2585247a2
@@ -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