Browse code

Modify reponame to PLUGIN and fix some typos

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
(cherry picked from commit c394034f5978862b75770a036364f806bbcd8920)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>

yuexiao-wang authored on 2016/11/25 20:46:24
Showing 4 changed files
... ...
@@ -64,7 +64,7 @@ func newCreateCommand(dockerCli *command.DockerCli) *cobra.Command {
64 64
 	options := pluginCreateOptions{}
65 65
 
66 66
 	cmd := &cobra.Command{
67
-		Use:   "create [OPTIONS] reponame[:tag] PATH-TO-ROOTFS (rootfs + config.json)",
67
+		Use:   "create [OPTIONS] PLUGIN[:tag] PATH-TO-ROOTFS(rootfs + config.json)",
68 68
 		Short: "Create a plugin from a rootfs and config",
69 69
 		Args:  cli.RequiresMinArgs(2),
70 70
 		RunE: func(cmd *cobra.Command, args []string) error {
... ...
@@ -14,7 +14,7 @@ import (
14 14
 
15 15
 func newPushCommand(dockerCli *command.DockerCli) *cobra.Command {
16 16
 	cmd := &cobra.Command{
17
-		Use:   "push NAME[:TAG]",
17
+		Use:   "push PLUGIN[:TAG]",
18 18
 		Short: "Push a plugin to a registry",
19 19
 		Args:  cli.ExactArgs(1),
20 20
 		RunE: func(cmd *cobra.Command, args []string) error {
... ...
@@ -16,7 +16,7 @@ keywords: "plugin, create"
16 16
 # plugin create
17 17
 
18 18
 ```markdown
19
-Usage:  docker plugin create [OPTIONS] reponame[:tag] PATH-TO-ROOTFS
19
+Usage:  docker plugin create [OPTIONS] PLUGIN[:tag] PATH-TO-ROOTFS(rootfs + config.json)
20 20
 
21 21
 Create a plugin from a rootfs and configuration
22 22
 
... ...
@@ -14,7 +14,7 @@ keywords: "plugin, push"
14 14
 -->
15 15
 
16 16
 ```markdown
17
-Usage:  docker plugin push NAME[:TAG]
17
+Usage:  docker plugin push PLUGIN[:TAG]
18 18
 
19 19
 Push a plugin to a registry
20 20