Skip to content

Commit bfbb2fd

Browse files
yuexiao-wangvieux
authored andcommitted
Modify reponame to PLUGIN and fix some typos
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn> (cherry picked from commit c394034) Signed-off-by: Victor Vieux <victorvieux@gmail.com>
1 parent 663ca54 commit bfbb2fd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cli/command/plugin/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func newCreateCommand(dockerCli *command.DockerCli) *cobra.Command {
6464
options := pluginCreateOptions{}
6565

6666
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)",
6868
Short: "Create a plugin from a rootfs and config",
6969
Args: cli.RequiresMinArgs(2),
7070
RunE: func(cmd *cobra.Command, args []string) error {

cli/command/plugin/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

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

docs/reference/commandline/plugin_create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ keywords: "plugin, create"
1616
# plugin create
1717

1818
```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)
2020

2121
Create a plugin from a rootfs and configuration
2222

docs/reference/commandline/plugin_push.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords: "plugin, push"
1414
-->
1515

1616
```markdown
17-
Usage: docker plugin push NAME[:TAG]
17+
Usage: docker plugin push PLUGIN[:TAG]
1818

1919
Push a plugin to a registry
2020

0 commit comments

Comments
 (0)