summaryrefslogtreecommitdiff
path: root/plugins/docker/_docker
diff options
context:
space:
mode:
authorUserTaken <UserTaken@users.noreply.github.com>2015-06-13 16:30:18 -0700
committerUserTaken <UserTaken@users.noreply.github.com>2015-06-13 16:30:18 -0700
commit55b1a2befe3d041b54c6aa542bd11734db31a6d5 (patch)
tree04eea1a2ef857b239b23c2b5f9f97ef933c8aee9 /plugins/docker/_docker
parent557dc09d71e489790742ed8603e929edb48fb071 (diff)
downloadzsh-55b1a2befe3d041b54c6aa542bd11734db31a6d5.tar.gz
zsh-55b1a2befe3d041b54c6aa542bd11734db31a6d5.tar.bz2
zsh-55b1a2befe3d041b54c6aa542bd11734db31a6d5.zip
Update _docker
Diffstat (limited to 'plugins/docker/_docker')
-rw-r--r--plugins/docker/_docker11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/docker/_docker b/plugins/docker/_docker
index bd494ecaa..25f55beca 100644
--- a/plugins/docker/_docker
+++ b/plugins/docker/_docker
@@ -52,11 +52,10 @@ __build() {
__commit() {
_arguments \
- '(-a,--author=)'{-a,--author=}'[Author (eg. "John Hannibal Smith <hannibal@a-team.com>"]' \
+ '(-a,--author=)'{-a,--author=}'[Author (e.g. "John Hannibal Smith <hannibal@a-team.com>")]' \
+ '(-c,--change=)'{-c,--change=}'[Apply Dockerfile instruction to the created image]' \
'(-m,--message=)'{-m,--message=}'[Commit message]' \
- '--run=[Config automatically applied when the image is run.]'
'(-p,--pause=)'{-p,--pause=}'[Pause container during commit]' \
- __docker_containers
}
__cp() {
@@ -70,7 +69,8 @@ __create() {
'--add-host=[Add a custom host-to-IP mapping]' \
'--cap-add=[Add Linux capabilities]' \
'--cap-drop=[Drop Linux capabilities]' \
- '(-c,--cpu-shares=)'{-c,--cpu-shares=}':[CPU shares (relative weight)]' \
+ '--cpuset-cpus=[CPUs in which to allow execution (0-3, 0,1)]' \
+ '(-c,--cpu-shares=)'{-c,--cpu-shares=}'[CPU shares (relative weight)]' \
'--cidfile=[Write the container ID to the file]' \
'--device=[Add a host device to the container]' \
'--dns=[Set custom dns servers]' \
@@ -227,7 +227,8 @@ __run() {
'--add-host=[Add a custom host-to-IP mapping]' \
'--cap-add=[Add Linux capabilities]' \
'--cap-drop=[Drop Linux capabilities]' \
- '(-c,--cpu-shares=)'{-c,--cpu-shares=}':[CPU shares (relative weight)]' \
+ '--cpuset-cpus=[CPUs in which to allow execution (0-3, 0,1)]' \
+ '(-c,--cpu-shares=)'{-c,--cpu-shares=}'[CPU shares (relative weight)]' \
'--cidfile=[Write the container ID to the file]' \
'(-d,--detach=)'{-d,--detach=}'[Run container in the background, print new container id]' \
'--device=[Add a host device to the container]' \