1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Modify reponame to PLUGIN and fix some typos

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
(cherry picked from commit c394034f59)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
yuexiao-wang 2016-11-25 19:46:24 +08:00 committed by Victor Vieux
parent 663ca540ea
commit bfbb2fdee9
4 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ func newCreateCommand(dockerCli *command.DockerCli) *cobra.Command {
options := pluginCreateOptions{} options := pluginCreateOptions{}
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "create [OPTIONS] reponame[:tag] PATH-TO-ROOTFS (rootfs + config.json)", Use: "create [OPTIONS] PLUGIN[:tag] PATH-TO-ROOTFS(rootfs + config.json)",
Short: "Create a plugin from a rootfs and config", Short: "Create a plugin from a rootfs and config",
Args: cli.RequiresMinArgs(2), Args: cli.RequiresMinArgs(2),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {

View file

@ -14,7 +14,7 @@ import (
func newPushCommand(dockerCli *command.DockerCli) *cobra.Command { func newPushCommand(dockerCli *command.DockerCli) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "push NAME[:TAG]", Use: "push PLUGIN[:TAG]",
Short: "Push a plugin to a registry", Short: "Push a plugin to a registry",
Args: cli.ExactArgs(1), Args: cli.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {

View file

@ -16,7 +16,7 @@ keywords: "plugin, create"
# plugin create # plugin create
```markdown ```markdown
Usage: docker plugin create [OPTIONS] reponame[:tag] PATH-TO-ROOTFS Usage: docker plugin create [OPTIONS] PLUGIN[:tag] PATH-TO-ROOTFS(rootfs + config.json)
Create a plugin from a rootfs and configuration Create a plugin from a rootfs and configuration

View file

@ -14,7 +14,7 @@ keywords: "plugin, push"
--> -->
```markdown ```markdown
Usage: docker plugin push NAME[:TAG] Usage: docker plugin push PLUGIN[:TAG]
Push a plugin to a registry Push a plugin to a registry