fix minor bash completion issue on OSX (compopt)

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-01-24 10:28:36 -08:00 committed by Tibor Vass
parent bdfbd1d9a6
commit f9a1ff0795
1 changed files with 2 additions and 2 deletions

View File

@ -497,13 +497,13 @@ __docker_complete_log_driver_options() {
;;
*splunk-url=*)
COMPREPLY=( $( compgen -W "http:// https://" -- "${cur#=}" ) )
compopt -o nospace
__docker_nospace
__ltrim_colon_completions "${cur}"
return
;;
*splunk-insecureskipverify=*)
COMPREPLY=( $( compgen -W "true false" -- "${cur#=}" ) )
compopt -o nospace
__docker_nospace
return
;;
esac