mirror of https://github.com/docker/cli.git
Add missing log drivers to bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
c15fdb2435
commit
e00293bec8
|
@ -182,6 +182,17 @@ __docker_capabilities() {
|
||||||
" -- "$cur" ) )
|
" -- "$cur" ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__docker_log_drivers() {
|
||||||
|
COMPREPLY=( $( compgen -W "
|
||||||
|
fluentd
|
||||||
|
gelf
|
||||||
|
journald
|
||||||
|
json-file
|
||||||
|
none
|
||||||
|
syslog
|
||||||
|
" -- "$cur" ) )
|
||||||
|
}
|
||||||
|
|
||||||
# a selection of the available signals that is most likely of interest in the
|
# a selection of the available signals that is most likely of interest in the
|
||||||
# context of docker containers.
|
# context of docker containers.
|
||||||
__docker_signals() {
|
__docker_signals() {
|
||||||
|
@ -222,7 +233,7 @@ _docker_docker() {
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--log-driver)
|
--log-driver)
|
||||||
COMPREPLY=( $( compgen -W "json-file syslog none" -- "$cur" ) )
|
__docker_log_drivers
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--log-level|-l)
|
--log-level|-l)
|
||||||
|
@ -941,7 +952,7 @@ _docker_run() {
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--log-driver)
|
--log-driver)
|
||||||
COMPREPLY=( $( compgen -W "json-file syslog none" -- "$cur") )
|
__docker_log_drivers
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--net)
|
--net)
|
||||||
|
|
Loading…
Reference in New Issue