Skip to content

Commit e416a2a

Browse files
thaJeztahkrissetto
authored andcommitted
contrib/completion: remove deprecated --api-cors-header
This flag was deprecated in docker v27.0, and removed in v28.0 (producing and error). Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 34f211d commit e416a2a

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

contrib/completion/bash/docker

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2552,7 +2552,6 @@ _docker_daemon() {
25522552
$global_options_with_args
25532553
--add-runtime
25542554
--allow-nondistributable-artifacts
2555-
--api-cors-header
25562555
--authorization-plugin
25572556
--bip
25582557
--bridge -b

contrib/completion/fish/docker.fish

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ function __fish_print_docker_repositories --description 'Print a list of docker
8282
end
8383

8484
# common options
85-
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"
8685
complete -c docker -f -n '__fish_docker_no_subcommand' -s b -l bridge -d 'Attach containers to a pre-existing network bridge'
8786
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"
8887
complete -c docker -f -n '__fish_docker_no_subcommand' -s D -l debug -d 'Enable debug mode'

contrib/completion/zsh/_docker

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2727,7 +2727,6 @@ __docker_subcommand() {
27272727
$opts_help \
27282728
"($help)*--add-runtime=[Register an additional OCI compatible runtime]:runtime:__docker_complete_runtimes" \
27292729
"($help)*--allow-nondistributable-artifacts=[Push nondistributable artifacts to specified registries]:registry: " \
2730-
"($help)--api-cors-header=[CORS headers in the Engine API]:CORS headers: " \
27312730
"($help)*--authorization-plugin=[Authorization plugins to load]" \
27322731
"($help -b --bridge)"{-b=,--bridge=}"[Attach containers to a network bridge]:bridge:_net_interfaces" \
27332732
"($help)--bip=[Network bridge IP]:IP address: " \

0 commit comments

Comments
 (0)