a4392cfc16ce6f1ddf1fd085819913ee26dc6189
- Author
- Carlo Sala <carlosalag@protonmail.com>
- Committer
- Carlo <carlosalag@protonmail.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/docker/_docker b/plugins/docker/_docker
2index 8ee35abcfc4b5d0a1487972d84a869057f3c03a4..e6a12d774f4017e7aeb3ca21c09c4d52a4ddfa41 100644
3--- a/plugins/docker/_docker
4+++ b/plugins/docker/_docker
5@@ -567,7 +567,7 @@ __docker_container_commands() {
6 "cp:Copy files/folders between a container and the local filesystem"
7 "create:Create a new container"
8 "diff:Inspect changes on a container's filesystem"
9- "exec:Run a command in a running container"
10+ "exec:Execute a command in a running container"
11 "export:Export a container's filesystem as a tar archive"
12 "inspect:Display detailed information on one or more containers"
13 "kill:Kill one or more running containers"
14@@ -579,7 +579,7 @@ __docker_container_commands() {
15 "rename:Rename a container"
16 "restart:Restart one or more containers"
17 "rm:Remove one or more containers"
18- "run:Run a command in a new container"
19+ "run:Create and run a new container from an image"
20 "start:Start one or more stopped containers"
21 "stats:Display a live stream of container(s) resource usage statistics"
22 "stop:Stop one or more running containers"
23@@ -650,6 +650,7 @@ __docker_container_subcommand() {
24 "($help)*"{-p=,--publish=}"[Expose a container's port to the host]:port:_ports"
25 "($help)--pid=[PID namespace to use]:PID namespace:__docker_complete_pid"
26 "($help)--privileged[Give extended privileges to this container]"
27+ "($help -q --quiet)"{-q,--quiet}"[Suppress the pull output]"
28 "($help)--read-only[Mount the container's root filesystem as read only]"
29 "($help)*--security-opt=[Security options]:security option: "
30 "($help)*--shm-size=[Size of '/dev/shm' (format is '<number><unit>')]:shm size: "
31@@ -802,7 +803,7 @@ __docker_container_subcommand() {
32 "($help -a --all)"{-a,--all}"[Show all containers]" \
33 "($help)--before=[Show only container created before...]:containers:__docker_complete_containers" \
34 "($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_ps_filters" \
35- "($help)--format=[Pretty-print containers using a Go template]:template: " \
36+ "($help)--format=[Format the output using the given Go template]:template: " \
37 "($help -l --latest)"{-l,--latest}"[Show only the latest created container]" \
38 "($help -n --last)"{-n=,--last=}"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)" \
39 "($help)--no-trunc[Do not truncate output]" \
40@@ -907,7 +908,7 @@ __docker_container_subcommand() {
41 _arguments $(__docker_arguments) \
42 $opts_help \
43 "($help -a --all)"{-a,--all}"[Show all containers (default shows just running)]" \
44- "($help)--format=[Pretty-print images using a Go template]:template: " \
45+ "($help)--format=[Format the output using the given Go template]:template: " \
46 "($help)--no-stream[Disable streaming stats and only pull the first result]" \
47 "($help)--no-trunc[Do not truncate output]" \
48 "($help -)*:containers:__docker_complete_running_containers" && ret=0
49@@ -973,8 +974,8 @@ __docker_image_commands() {
50 "load:Load an image from a tar archive or STDIN"
51 "ls:List images"
52 "prune:Remove unused images"
53- "pull:Pull an image or a repository from a registry"
54- "push:Push an image or a repository to a registry"
55+ "pull:Download an image from a registry"
56+ "push:Upload an image to a registry"
57 "rm:Remove one or more images"
58 "save:Save one or more images to a tar archive (streamed to STDOUT by default)"
59 "tag:Tag an image into a repository"
60@@ -1060,7 +1061,7 @@ __docker_image_subcommand() {
61 "($help -a --all)"{-a,--all}"[Show all images]" \
62 "($help)--digests[Show digests]" \
63 "($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_images_filters" \
64- "($help)--format=[Pretty-print images using a Go template]:template: " \
65+ "($help)--format=[Format the output using the given Go template]:template: " \
66 "($help)--no-trunc[Do not truncate output]" \
67 "($help -q --quiet)"{-q,--quiet}"[Only show image IDs]" \
68 "($help -): :__docker_complete_repositories" && ret=0
69@@ -1082,7 +1083,7 @@ __docker_image_subcommand() {
70 (push)
71 _arguments $(__docker_arguments) \
72 $opts_help \
73- "($help -a --all-tags)"{-a,--all-tags}"[Push all tagged images in the repository]" \
74+ "($help -a --all-tags)"{-a,--all-tags}"[Push all tags of an image to the repository]" \
75 "($help)--disable-content-trust[Skip image signing]" \
76 "($help -): :__docker_complete_images" && ret=0
77 ;;
78@@ -1292,7 +1293,7 @@ __docker_network_subcommand() {
79 $opts_help \
80 "($help)--no-trunc[Do not truncate the output]" \
81 "($help)*"{-f=,--filter=}"[Provide filter values]:filter:__docker_network_complete_ls_filters" \
82- "($help)--format=[Pretty-print networks using a Go template]:template: " \
83+ "($help)--format=[Format the output using the given Go template]:template: " \
84 "($help -q --quiet)"{-q,--quiet}"[Only display network IDs]" && ret=0
85 ;;
86 (prune)
87@@ -2050,7 +2051,7 @@ __docker_service_subcommand() {
88 _arguments $(__docker_arguments) \
89 $opts_help \
90 "($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_service_complete_ls_filters" \
91- "($help)--format=[Pretty-print services using a Go template]:template: " \
92+ "($help)--format=[Format the output using the given Go template]:template: " \
93 "($help -q --quiet)"{-q,--quiet}"[Only display IDs]" && ret=0
94 ;;
95 (rm|remove)
96@@ -2253,7 +2254,7 @@ __docker_stack_subcommand() {
97 _arguments $(__docker_arguments) \
98 $opts_help \
99 "($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_stack_complete_services_filters" \
100- "($help)--format=[Pretty-print services using a Go template]:template: " \
101+ "($help)--format=[Format the output using the given Go template]:template: " \
102 "($help -q --quiet)"{-q,--quiet}"[Only display IDs]" \
103 "($help -):stack:__docker_complete_stacks" && ret=0
104 ;;