Browse code

Add [OPTIONS] to usage of `plugin disable|push`

Signed-off-by: Harald Albers <github@albersweb.de>

Harald Albers authored on 2017/01/28 00:17:02
Showing 4 changed files
... ...
@@ -14,7 +14,7 @@ func newDisableCommand(dockerCli *command.DockerCli) *cobra.Command {
14 14
 	var force bool
15 15
 
16 16
 	cmd := &cobra.Command{
17
-		Use:   "disable PLUGIN",
17
+		Use:   "disable [OPTIONS] PLUGIN",
18 18
 		Short: "Disable a plugin",
19 19
 		Args:  cli.ExactArgs(1),
20 20
 		RunE: func(cmd *cobra.Command, args []string) error {
... ...
@@ -16,7 +16,7 @@ import (
16 16
 
17 17
 func newPushCommand(dockerCli *command.DockerCli) *cobra.Command {
18 18
 	cmd := &cobra.Command{
19
-		Use:   "push PLUGIN[:TAG]",
19
+		Use:   "push [OPTIONS] PLUGIN[:TAG]",
20 20
 		Short: "Push a plugin to a registry",
21 21
 		Args:  cli.ExactArgs(1),
22 22
 		RunE: func(cmd *cobra.Command, args []string) error {
... ...
@@ -16,7 +16,7 @@ keywords: "plugin, disable"
16 16
 # plugin disable
17 17
 
18 18
 ```markdown
19
-Usage:  docker plugin disable PLUGIN
19
+Usage:  docker plugin disable [OPTIONS] PLUGIN
20 20
 
21 21
 Disable a plugin
22 22
 
... ...
@@ -14,7 +14,7 @@ keywords: "plugin, push"
14 14
 -->
15 15
 
16 16
 ```markdown
17
-Usage:	docker plugin push PLUGIN[:TAG]
17
+Usage:	docker plugin push [OPTIONS] PLUGIN[:TAG]
18 18
 
19 19
 Push a plugin to a registry
20 20