Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 455b7bcbabd4eb7e440448b5834f626cb08c69e0)
Signed-off-by: Victor Vieux <vieux@docker.com>
| ... | ... |
@@ -1520,11 +1520,17 @@ __docker_plugin_subcommand() {
|
| 1520 | 1520 |
opts_help=("(: -)--help[Print usage]")
|
| 1521 | 1521 |
|
| 1522 | 1522 |
case "$words[1]" in |
| 1523 |
- (disable|enable|inspect|install|ls|push|rm) |
|
| 1523 |
+ (disable|enable|inspect|ls|push|rm) |
|
| 1524 | 1524 |
_arguments $(__docker_arguments) \ |
| 1525 | 1525 |
$opts_help \ |
| 1526 | 1526 |
"($help -)1:plugin:__docker_complete_plugins" && ret=0 |
| 1527 | 1527 |
;; |
| 1528 |
+ (install) |
|
| 1529 |
+ _arguments $(__docker_arguments) \ |
|
| 1530 |
+ $opts_help \ |
|
| 1531 |
+ "($help)--alias=[Local name for plugin]:alias: " \ |
|
| 1532 |
+ "($help -)1:plugin:__docker_complete_plugins" && ret=0 |
|
| 1533 |
+ ;; |
|
| 1528 | 1534 |
(set) |
| 1529 | 1535 |
_arguments $(__docker_arguments) \ |
| 1530 | 1536 |
$opts_help \ |