1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Merge pull request #30508 from albers/plugin-usage-options

Add [OPTIONS] to usage of `plugin disable|push`
Upstream-commit: e55e1841160276589ecbca6d12403bb8104ce7c5
Component: engine
This commit is contained in:
Victor Vieux
2017-01-27 11:17:08 -08:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ func newDisableCommand(dockerCli *command.DockerCli) *cobra.Command {
var force bool
cmd := &cobra.Command{
Use: "disable PLUGIN",
Use: "disable [OPTIONS] PLUGIN",
Short: "Disable a plugin",
Args: cli.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {

View File

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

View File

@@ -16,7 +16,7 @@ keywords: "plugin, disable"
# plugin disable
```markdown
Usage: docker plugin disable PLUGIN
Usage: docker plugin disable [OPTIONS] PLUGIN
Disable a plugin

View File

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