fix minor bash completion issue on OSX (compopt)

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f9a1ff0795
Component: cli
This commit is contained in:
Harald Albers
2016-01-24 10:28:36 -08:00
committed by Tibor Vass
parent d60ff884b6
commit a6cc17338a

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