mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix bash completion for docker logs --since
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
97d4b9c465
commit
0e2244352a
1 changed files with 1 additions and 1 deletions
|
@ -1406,7 +1406,7 @@ _docker_logs() {
|
||||||
COMPREPLY=( $( compgen -W "--details --follow -f --help --since --tail --timestamps -t" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--details --follow -f --help --since --tail --timestamps -t" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
local counter=$(__docker_pos_first_nonflag '--tail')
|
local counter=$(__docker_pos_first_nonflag '--since|--tail')
|
||||||
if [ $cword -eq $counter ]; then
|
if [ $cword -eq $counter ]; then
|
||||||
__docker_complete_containers_all
|
__docker_complete_containers_all
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue