Merge pull request #5725 from thaJeztah/remove_cors_headers_completion
contrib/completion: remove deprecated --api-cors-header
This commit is contained in:
commit
8be29ef534
@ -2552,7 +2552,6 @@ _docker_daemon() {
|
|||||||
$global_options_with_args
|
$global_options_with_args
|
||||||
--add-runtime
|
--add-runtime
|
||||||
--allow-nondistributable-artifacts
|
--allow-nondistributable-artifacts
|
||||||
--api-cors-header
|
|
||||||
--authorization-plugin
|
--authorization-plugin
|
||||||
--bip
|
--bip
|
||||||
--bridge -b
|
--bridge -b
|
||||||
|
@ -82,7 +82,6 @@ function __fish_print_docker_repositories --description 'Print a list of docker
|
|||||||
end
|
end
|
||||||
|
|
||||||
# common options
|
# common options
|
||||||
complete -c docker -f -n '__fish_docker_no_subcommand' -l api-cors-header -d "Set CORS headers in the Engine API. Default is cors disabled"
|
|
||||||
complete -c docker -f -n '__fish_docker_no_subcommand' -s b -l bridge -d 'Attach containers to a pre-existing network bridge'
|
complete -c docker -f -n '__fish_docker_no_subcommand' -s b -l bridge -d 'Attach containers to a pre-existing network bridge'
|
||||||
complete -c docker -f -n '__fish_docker_no_subcommand' -l bip -d "Use this CIDR notation address for the network bridge's IP, not compatible with -b"
|
complete -c docker -f -n '__fish_docker_no_subcommand' -l bip -d "Use this CIDR notation address for the network bridge's IP, not compatible with -b"
|
||||||
complete -c docker -f -n '__fish_docker_no_subcommand' -s D -l debug -d 'Enable debug mode'
|
complete -c docker -f -n '__fish_docker_no_subcommand' -s D -l debug -d 'Enable debug mode'
|
||||||
|
@ -2727,7 +2727,6 @@ __docker_subcommand() {
|
|||||||
$opts_help \
|
$opts_help \
|
||||||
"($help)*--add-runtime=[Register an additional OCI compatible runtime]:runtime:__docker_complete_runtimes" \
|
"($help)*--add-runtime=[Register an additional OCI compatible runtime]:runtime:__docker_complete_runtimes" \
|
||||||
"($help)*--allow-nondistributable-artifacts=[Push nondistributable artifacts to specified registries]:registry: " \
|
"($help)*--allow-nondistributable-artifacts=[Push nondistributable artifacts to specified registries]:registry: " \
|
||||||
"($help)--api-cors-header=[CORS headers in the Engine API]:CORS headers: " \
|
|
||||||
"($help)*--authorization-plugin=[Authorization plugins to load]" \
|
"($help)*--authorization-plugin=[Authorization plugins to load]" \
|
||||||
"($help -b --bridge)"{-b=,--bridge=}"[Attach containers to a network bridge]:bridge:_net_interfaces" \
|
"($help -b --bridge)"{-b=,--bridge=}"[Attach containers to a network bridge]:bridge:_net_interfaces" \
|
||||||
"($help)--bip=[Network bridge IP]:IP address: " \
|
"($help)--bip=[Network bridge IP]:IP address: " \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user