Skip to content

Commit

Permalink
Merge pull request #23484 from onlyjob/bash-completion
Browse files Browse the repository at this point in the history
Fix syntax errors in bash-completion (Closes: #23483)
  • Loading branch information
thaJeztah authored Jun 14, 2016
2 parents a1e319e + 546594e commit 1cb16a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ __docker_complete_log_driver_options() {
COMPREPLY=( $( compgen -W "rfc3164 rfc5424 rfc5424micro" -- "${cur##*=}" ) )
return
;;
syslog-tls-@(ca-cert|cert|key))
syslog-tls-ca-cert|syslog-tls-cert|syslog-tls-key)
_filedir
return
;;
Expand Down Expand Up @@ -839,7 +839,7 @@ _docker_daemon() {

local key=$(__docker_map_key_of_current_option '--storage-opt')
case "$key" in
dm.@(blkdiscard|override_udev_sync_check|use_deferred_@(removal|deletion)))
dm.blkdiscard|dm.override_udev_sync_check|dm.use_deferred_removal|dm.use_deferred_deletion)
COMPREPLY=( $( compgen -W "false true" -- "${cur##*=}" ) )
return
;;
Expand Down

0 comments on commit 1cb16a1

Please sign in to comment.