summaryrefslogtreecommitdiff
path: root/plugins/docker
diff options
context:
space:
mode:
authorAhmed Azaan <azaan@outlook.com>2013-08-07 22:11:49 +0530
committerAhmed Azaan <azaan@outlook.com>2013-08-07 22:11:49 +0530
commit2d1a07a3f72353a59ed9ecda88969093406699f7 (patch)
tree66cc3546814c8d2b171be81b43b3f43f5c120092 /plugins/docker
parent619ecb5f4fcec9ceb3769f4697fcbb2cbe3f2a7a (diff)
downloadzsh-2d1a07a3f72353a59ed9ecda88969093406699f7.tar.gz
zsh-2d1a07a3f72353a59ed9ecda88969093406699f7.tar.bz2
zsh-2d1a07a3f72353a59ed9ecda88969093406699f7.zip
fixed minor errors
Diffstat (limited to 'plugins/docker')
-rw-r--r--plugins/docker/_docker14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/docker/_docker b/plugins/docker/_docker
index e8d2885c9..f13f876cf 100644
--- a/plugins/docker/_docker
+++ b/plugins/docker/_docker
@@ -31,7 +31,7 @@ __build() {
_arguments \
'-q=false[Suppress verbose build output]' \
'-t="[fuck to be applied to the resulting image in case of success]' \
- ' *:files:_files'
+ '*:files:_files'
}
__commit() {
@@ -60,7 +60,7 @@ __images() {
'-a[show all images]' \
'-notrunc[dont truncate output]' \
'-q[only show numeric IDs]' \
- '-viz[output graph in graphviz format'
+ '-viz[output graph in graphviz format]'
__docker_images
}
@@ -159,20 +159,20 @@ __run() {
}
__search() {
- arguments '-notrunc[Dont truncate output]'
+ _arguments '-notrunc[Dont truncate output]'
}
__start() {
- __docker_container
+ __docker_containers
}
__stop() {
- __arguments '-t=[number of seconds to try to stop before killing]'
+ _arguments '-t=[number of seconds to try to stop before killing]'
__docker_containers
}
__tag() {
- __arguments '-f[Force]'
+ _arguments '-f[Force]'
__docker_images
}
@@ -181,7 +181,7 @@ __version() {
}
__wait() {
- __docker_container
+ __docker_containers
}
# end commands ---------