From eae5084f8a6cbc2f6eddba94709bd2f296fb4806 Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Fri, 25 Nov 2016 19:46:24 +0800 Subject: [PATCH] Modify reponame to PLUGIN and fix some typos Signed-off-by: yuexiao-wang Upstream-commit: 48537db8498635f891dcc825c998a237a85685b3 Component: cli --- components/cli/command/plugin/create.go | 2 +- components/cli/command/plugin/push.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cli/command/plugin/create.go b/components/cli/command/plugin/create.go index 94c0d2c367..e0041c1b88 100644 --- a/components/cli/command/plugin/create.go +++ b/components/cli/command/plugin/create.go @@ -64,7 +64,7 @@ func newCreateCommand(dockerCli *command.DockerCli) *cobra.Command { options := pluginCreateOptions{} 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", Args: cli.RequiresMinArgs(2), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/components/cli/command/plugin/push.go b/components/cli/command/plugin/push.go index e37a0483a6..add4a2b0a6 100644 --- a/components/cli/command/plugin/push.go +++ b/components/cli/command/plugin/push.go @@ -14,7 +14,7 @@ import ( func newPushCommand(dockerCli *command.DockerCli) *cobra.Command { cmd := &cobra.Command{ - Use: "push NAME[:TAG]", + Use: "push PLUGIN[:TAG]", Short: "Push a plugin to a registry", Args: cli.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error {