mirror of https://github.com/docker/cli.git
fix minor bash completion issue on OSX (compopt)
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
bdfbd1d9a6
commit
f9a1ff0795
|
@ -497,13 +497,13 @@ __docker_complete_log_driver_options() {
|
||||||
;;
|
;;
|
||||||
*splunk-url=*)
|
*splunk-url=*)
|
||||||
COMPREPLY=( $( compgen -W "http:// https://" -- "${cur#=}" ) )
|
COMPREPLY=( $( compgen -W "http:// https://" -- "${cur#=}" ) )
|
||||||
compopt -o nospace
|
__docker_nospace
|
||||||
__ltrim_colon_completions "${cur}"
|
__ltrim_colon_completions "${cur}"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
*splunk-insecureskipverify=*)
|
*splunk-insecureskipverify=*)
|
||||||
COMPREPLY=( $( compgen -W "true false" -- "${cur#=}" ) )
|
COMPREPLY=( $( compgen -W "true false" -- "${cur#=}" ) )
|
||||||
compopt -o nospace
|
__docker_nospace
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue