Skip to content

Commit

Permalink
Add bash completion for --storage-opt dm.libdm_log_level
Browse files Browse the repository at this point in the history
This adds bash completion for moby/moby#33845.

Signed-off-by: Harald Albers <github@albersweb.de>
  • Loading branch information
albers authored and riyazdf committed Aug 2, 2017
1 parent 8319205 commit 77f1d48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,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
Expand Down Expand Up @@ -2275,6 +2279,7 @@ _docker_daemon() {
dm.blocksize
dm.directlvm_device
dm.fs
dm.libdm_log_level
dm.loopdatasize
dm.loopmetadatasize
dm.min_free_space
Expand Down

0 comments on commit 77f1d48

Please sign in to comment.