1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #26910 from sdurrheimer/zsh-completion-multinodes-ps

Add zsh completion for multi-nodes 'node ps'
This commit is contained in:
Brian Goff 2016-09-26 10:26:38 -04:00 committed by GitHub
commit 6ac74720e0

View file

@ -847,7 +847,7 @@ __docker_node_subcommand() {
"($help)*"{-f=,--filter=}"[Provide filter values]:filter:->filter-options" \ "($help)*"{-f=,--filter=}"[Provide filter values]:filter:->filter-options" \
"($help)--no-resolve[Do not map IDs to Names]" \ "($help)--no-resolve[Do not map IDs to Names]" \
"($help)--no-trunc[Do not truncate output]" \ "($help)--no-trunc[Do not truncate output]" \
"($help -)1:node:__docker_complete_nodes" && ret=0 "($help -)*:node:__docker_complete_nodes" && ret=0
case $state in case $state in
(filter-options) (filter-options)
__docker_node_complete_ps_filters && ret=0 __docker_node_complete_ps_filters && ret=0