Merge pull request #1215 from albers/completion-service-logs-options

Add bash completion for `service logs --details|--raw`
This commit is contained in:
Sebastiaan van Stijn 2018-07-31 22:25:36 +02:00 committed by GitHub
commit 08f5f52cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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')