Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 5bfd29b9fbc97392d540013a8225671e2f83c407)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -335,6 +335,7 @@ __docker_network_subcommand() {
|
| 335 | 335 |
"($help)--ipam-driver=[IP Address Management Driver]:driver:(default)" \ |
| 336 | 336 |
"($help)*--ipam-opt=[Custom IPAM plugin options]:opt=value: " \ |
| 337 | 337 |
"($help)--ipv6[Enable IPv6 networking]" \ |
| 338 |
+ "($help)*--label=[Set metadata on a network]:label=value: " \ |
|
| 338 | 339 |
"($help)*"{-o=,--opt=}"[Driver specific options]:opt=value: " \
|
| 339 | 340 |
"($help)*--subnet=[Subnet in CIDR format that represents a network segment]:IP/mask: " \ |
| 340 | 341 |
"($help -)1:Network Name: " && ret=0 |
| ... | ... |
@@ -425,6 +426,7 @@ __docker_volume_subcommand() {
|
| 425 | 425 |
_arguments $(__docker_arguments) \ |
| 426 | 426 |
$opts_help \ |
| 427 | 427 |
"($help -d --driver)"{-d=,--driver=}"[Volume driver name]:Driver name:(local)" \
|
| 428 |
+ "($help)*--label=[Set metadata for a volume]:label=value: " \ |
|
| 428 | 429 |
"($help)--name=[Volume name]" \ |
| 429 | 430 |
"($help)*"{-o=,--opt=}"[Driver specific options]:Driver option: " && ret=0
|
| 430 | 431 |
;; |
| ... | ... |
@@ -576,6 +578,7 @@ __docker_subcommand() {
|
| 576 | 576 |
"($help)*--build-arg[Build-time variables]:<varname>=<value>: " \ |
| 577 | 577 |
"($help -f --file)"{-f=,--file=}"[Name of the Dockerfile]:Dockerfile:_files" \
|
| 578 | 578 |
"($help)--force-rm[Always remove intermediate containers]" \ |
| 579 |
+ "($help)*--label=[Set metadata for an image]:label=value: " \ |
|
| 579 | 580 |
"($help)--no-cache[Do not use cache when building the image]" \ |
| 580 | 581 |
"($help)--pull[Attempt to pull a newer version of the image]" \ |
| 581 | 582 |
"($help -q --quiet)"{-q,--quiet}"[Suppress verbose build output]" \
|