2d1a07a3f72353a59ed9ecda88969093406699f7

Author
Ahmed Azaan <azaan@outlook.com>
Committer
Ahmed Azaan <azaan@outlook.com>
Date

Message

fixed minor errors

Diff

 1diff --git a/plugins/docker/_docker b/plugins/docker/_docker
 2index e8d2885c9f757cbdaaaf79fd4a3546e32f4bef80..f13f876cf9c97af4ed7d8598fba3325f60ac6cca 100644
 3--- a/plugins/docker/_docker
 4+++ b/plugins/docker/_docker
 5@@ -31,7 +31,7 @@ __build() {
 6     _arguments \
 7         '-q=false[Suppress verbose build output]' \
 8         '-t="[fuck to be applied to the resulting image in case of success]' \
 9-        ' *:files:_files'
10+        '*:files:_files'
11 }
12 
13 __commit() {
14@@ -60,7 +60,7 @@ __images() {
15         '-a[show all images]' \
16         '-notrunc[dont truncate output]' \
17         '-q[only show numeric IDs]' \
18-        '-viz[output graph in graphviz format'
19+        '-viz[output graph in graphviz format]'
20     __docker_images
21 }
22 
23@@ -159,20 +159,20 @@ __run() {
24 }
25 
26 __search() {
27-    arguments '-notrunc[Dont truncate output]'
28+    _arguments '-notrunc[Dont truncate output]'
29 }
30 
31 __start() {
32-    __docker_container
33+    __docker_containers
34 }
35 
36 __stop() {
37-    __arguments '-t=[number of seconds to try to stop before killing]'
38+    _arguments '-t=[number of seconds to try to stop before killing]'
39     __docker_containers
40 }
41 
42 __tag() {
43-    __arguments '-f[Force]'
44+    _arguments '-f[Force]'
45     __docker_images
46 }
47 
48@@ -181,7 +181,7 @@ __version() {
49 }
50 
51 __wait() {
52-    __docker_container
53+    __docker_containers
54 }
55 
56 # end commands ---------