Merge pull request #334 from albers/completion--storage-opt-dm.libdm_log_level

Add bash completion for `--storage-opt dm.libdm_log_level`
This commit is contained in:
Kenfe-Mickaël Laventure 2017-08-02 18:18:02 +02:00 committed by GitHub
commit 68c27d7347
1 changed files with 5 additions and 0 deletions

View File

@ -2234,6 +2234,10 @@ _docker_daemon() {
COMPREPLY=( $( compgen -W "ext4 xfs" -- "${cur##*=}" ) ) COMPREPLY=( $( compgen -W "ext4 xfs" -- "${cur##*=}" ) )
return return
;; ;;
dm.libdm_log_level)
COMPREPLY=( $( compgen -W "2 3 4 5 6 7" -- "${cur##*=}" ) )
return
;;
esac esac
case "$prev" in case "$prev" in
@ -2275,6 +2279,7 @@ _docker_daemon() {
dm.blocksize dm.blocksize
dm.directlvm_device dm.directlvm_device
dm.fs dm.fs
dm.libdm_log_level
dm.loopdatasize dm.loopdatasize
dm.loopmetadatasize dm.loopmetadatasize
dm.min_free_space dm.min_free_space