diff --git a/cli/command/plugin/create.go b/cli/command/plugin/create.go index 94c0d2c367..e0041c1b88 100644 --- a/cli/command/plugin/create.go +++ b/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/cli/command/plugin/push.go b/cli/command/plugin/push.go index e37a0483a6..add4a2b0a6 100644 --- a/cli/command/plugin/push.go +++ b/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 { diff --git a/docs/reference/commandline/plugin_create.md b/docs/reference/commandline/plugin_create.md index f35d73c605..83111ea723 100644 --- a/docs/reference/commandline/plugin_create.md +++ b/docs/reference/commandline/plugin_create.md @@ -16,7 +16,7 @@ keywords: "plugin, create" # plugin create ```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 diff --git a/docs/reference/commandline/plugin_push.md b/docs/reference/commandline/plugin_push.md index 54022dcee1..07f2a66a37 100644 --- a/docs/reference/commandline/plugin_push.md +++ b/docs/reference/commandline/plugin_push.md @@ -14,7 +14,7 @@ keywords: "plugin, push" --> ```markdown -Usage: docker plugin push NAME[:TAG] +Usage: docker plugin push PLUGIN[:TAG] Push a plugin to a registry