Add completion for --filter desired-state=shutdown
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
committed by
Tibor Vass
parent
170fa8ca4c
commit
0ec2d368a8
@ -2906,7 +2906,7 @@ _docker_service_ps() {
|
||||
local key=$(__docker_map_key_of_current_option '--filter|-f')
|
||||
case "$key" in
|
||||
desired-state)
|
||||
COMPREPLY=( $( compgen -W "accepted running" -- "${cur##*=}" ) )
|
||||
COMPREPLY=( $( compgen -W "accepted running shutdown" -- "${cur##*=}" ) )
|
||||
return
|
||||
;;
|
||||
name)
|
||||
@ -3399,7 +3399,7 @@ _docker_node_ps() {
|
||||
local key=$(__docker_map_key_of_current_option '--filter|-f')
|
||||
case "$key" in
|
||||
desired-state)
|
||||
COMPREPLY=( $( compgen -W "accepted running" -- "${cur##*=}" ) )
|
||||
COMPREPLY=( $( compgen -W "accepted running shutdown" -- "${cur##*=}" ) )
|
||||
return
|
||||
;;
|
||||
name)
|
||||
@ -3888,7 +3888,7 @@ _docker_stack_ps() {
|
||||
local key=$(__docker_map_key_of_current_option '--filter|-f')
|
||||
case "$key" in
|
||||
desired-state)
|
||||
COMPREPLY=( $( compgen -W "accepted running" -- "${cur##*=}" ) )
|
||||
COMPREPLY=( $( compgen -W "accepted running shutdown" -- "${cur##*=}" ) )
|
||||
return
|
||||
;;
|
||||
id)
|
||||
|
||||
Reference in New Issue
Block a user