mirror of https://github.com/docker/cli.git
Merge pull request #1215 from albers/completion-service-logs-options
Add bash completion for `service logs --details|--raw`
This commit is contained in:
commit
08f5f52cdc
|
@ -3220,7 +3220,7 @@ _docker_service_logs() {
|
|||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--follow -f --help --no-resolve --no-task-ids --no-trunc --since --tail --timestamps -t" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--details --follow -f --help --no-resolve --no-task-ids --no-trunc --raw --since --tail --timestamps -t" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
local counter=$(__docker_pos_first_nonflag '--since|--tail')
|
||||
|
|
Loading…
Reference in New Issue