From b8710ccef398bdfcd5ba323a39b16c5ab15e530a Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Fri, 14 Jul 2017 10:22:55 +0200 Subject: [PATCH] Add bash completion for `--storage-opt dm.libdm_log_level` This adds bash completion for https://github.com/moby/moby/pull/33845. Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 95cc588ca0..66f629a0de 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -2068,6 +2068,10 @@ _docker_daemon() { COMPREPLY=( $( compgen -W "ext4 xfs" -- "${cur##*=}" ) ) return ;; + dm.libdm_log_level) + COMPREPLY=( $( compgen -W "2 3 4 5 6 7" -- "${cur##*=}" ) ) + return + ;; esac case "$prev" in @@ -2109,6 +2113,7 @@ _docker_daemon() { dm.blocksize dm.directlvm_device dm.fs + dm.libdm_log_level dm.loopdatasize dm.loopmetadatasize dm.min_free_space