|
@@ -2689,10 +2689,7 @@ _docker_service_ps() {
|
|
COMPREPLY=( $( compgen -W "--filter -f --help --no-resolve --no-trunc --quiet -q" -- "$cur" ) )
|
|
COMPREPLY=( $( compgen -W "--filter -f --help --no-resolve --no-trunc --quiet -q" -- "$cur" ) )
|
|
;;
|
|
;;
|
|
*)
|
|
*)
|
|
- local counter=$(__docker_pos_first_nonflag '--filter|-f')
|
|
|
|
- if [ $cword -eq $counter ]; then
|
|
|
|
- __docker_complete_services
|
|
|
|
- fi
|
|
|
|
|
|
+ __docker_complete_services
|
|
;;
|
|
;;
|
|
esac
|
|
esac
|
|
}
|
|
}
|