Diff
1diff --git a/plugins/docker/_docker b/plugins/docker/_docker
2index bd494ecaa0913b7586fd851fbff8d863aa6c35ed..25f55beca384ecdd3d4b9c970a322676e9e4599c 100644
3--- a/plugins/docker/_docker
4+++ b/plugins/docker/_docker
5@@ -52,11 +52,10 @@ __build() {
6
7 __commit() {
8 _arguments \
9- '(-a,--author=)'{-a,--author=}'[Author (eg. "John Hannibal Smith <hannibal@a-team.com>"]' \
10+ '(-a,--author=)'{-a,--author=}'[Author (e.g. "John Hannibal Smith <hannibal@a-team.com>")]' \
11+ '(-c,--change=)'{-c,--change=}'[Apply Dockerfile instruction to the created image]' \
12 '(-m,--message=)'{-m,--message=}'[Commit message]' \
13- '--run=[Config automatically applied when the image is run.]'
14 '(-p,--pause=)'{-p,--pause=}'[Pause container during commit]' \
15- __docker_containers
16 }
17
18 __cp() {
19@@ -70,7 +69,8 @@ __create() {
20 '--add-host=[Add a custom host-to-IP mapping]' \
21 '--cap-add=[Add Linux capabilities]' \
22 '--cap-drop=[Drop Linux capabilities]' \
23- '(-c,--cpu-shares=)'{-c,--cpu-shares=}':[CPU shares (relative weight)]' \
24+ '--cpuset-cpus=[CPUs in which to allow execution (0-3, 0,1)]' \
25+ '(-c,--cpu-shares=)'{-c,--cpu-shares=}'[CPU shares (relative weight)]' \
26 '--cidfile=[Write the container ID to the file]' \
27 '--device=[Add a host device to the container]' \
28 '--dns=[Set custom dns servers]' \
29@@ -227,7 +227,8 @@ __run() {
30 '--add-host=[Add a custom host-to-IP mapping]' \
31 '--cap-add=[Add Linux capabilities]' \
32 '--cap-drop=[Drop Linux capabilities]' \
33- '(-c,--cpu-shares=)'{-c,--cpu-shares=}':[CPU shares (relative weight)]' \
34+ '--cpuset-cpus=[CPUs in which to allow execution (0-3, 0,1)]' \
35+ '(-c,--cpu-shares=)'{-c,--cpu-shares=}'[CPU shares (relative weight)]' \
36 '--cidfile=[Write the container ID to the file]' \
37 '(-d,--detach=)'{-d,--detach=}'[Run container in the background, print new container id]' \
38 '--device=[Add a host device to the container]' \