mirror of https://github.com/docker/cli.git
Add bash completion for new devicemapper storage options
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
95fcee5fc6
commit
d8dfa04cae
|
@ -2022,15 +2022,15 @@ _docker_daemon() {
|
||||||
COMPREPLY=( $( compgen -W "false true" -- "${cur##*=}" ) )
|
COMPREPLY=( $( compgen -W "false true" -- "${cur##*=}" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
dm.fs)
|
dm.directlvm_device|dm.thinpooldev)
|
||||||
COMPREPLY=( $( compgen -W "ext4 xfs" -- "${cur##*=}" ) )
|
|
||||||
return
|
|
||||||
;;
|
|
||||||
dm.thinpooldev)
|
|
||||||
cur=${cur##*=}
|
cur=${cur##*=}
|
||||||
_filedir
|
_filedir
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
dm.fs)
|
||||||
|
COMPREPLY=( $( compgen -W "ext4 xfs" -- "${cur##*=}" ) )
|
||||||
|
return
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
|
@ -2070,6 +2070,7 @@ _docker_daemon() {
|
||||||
dm.basesize
|
dm.basesize
|
||||||
dm.blkdiscard
|
dm.blkdiscard
|
||||||
dm.blocksize
|
dm.blocksize
|
||||||
|
dm.directlvm_device
|
||||||
dm.fs
|
dm.fs
|
||||||
dm.loopdatasize
|
dm.loopdatasize
|
||||||
dm.loopmetadatasize
|
dm.loopmetadatasize
|
||||||
|
@ -2078,6 +2079,10 @@ _docker_daemon() {
|
||||||
dm.mountopt
|
dm.mountopt
|
||||||
dm.override_udev_sync_check
|
dm.override_udev_sync_check
|
||||||
dm.thinpooldev
|
dm.thinpooldev
|
||||||
|
dm.thinp_autoextend_percent
|
||||||
|
dm.thinp_autoextend_threshold
|
||||||
|
dm.thinp_metapercent
|
||||||
|
dm.thinp_percent
|
||||||
dm.use_deferred_deletion
|
dm.use_deferred_deletion
|
||||||
dm.use_deferred_removal
|
dm.use_deferred_removal
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in New Issue