Add bash completion for dockerd --init-path
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3171c7b6e7
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
86244a53b9
commit
5287c26318
@ -922,6 +922,7 @@ _docker_daemon() {
|
||||
--fixed-cidr-v6
|
||||
--graph -g
|
||||
--group -G
|
||||
--init-path
|
||||
--insecure-registry
|
||||
--ip
|
||||
--label
|
||||
@ -981,6 +982,10 @@ _docker_daemon() {
|
||||
__docker_nospace
|
||||
return
|
||||
;;
|
||||
--config-file|--containerd|--init-path|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--exec-root|--graph|-g)
|
||||
_filedir -d
|
||||
return
|
||||
@ -989,10 +994,6 @@ _docker_daemon() {
|
||||
__docker_complete_log_drivers
|
||||
return
|
||||
;;
|
||||
--config-file|--containerd|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--storage-driver|-s)
|
||||
COMPREPLY=( $( compgen -W "aufs btrfs devicemapper overlay overlay2 vfs zfs" -- "$(echo $cur | tr '[:upper:]' '[:lower:]')" ) )
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user