mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add [OPTIONS] to usage of plugin disable|push
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit aad095f573
)
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
e3441eb64c
commit
e0c79df37d
4 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ func newDisableCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
var force bool
|
var force bool
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "disable PLUGIN",
|
Use: "disable [OPTIONS] PLUGIN",
|
||||||
Short: "Disable a plugin",
|
Short: "Disable a plugin",
|
||||||
Args: cli.ExactArgs(1),
|
Args: cli.ExactArgs(1),
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
|
|
||||||
func newPushCommand(dockerCli *command.DockerCli) *cobra.Command {
|
func newPushCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "push PLUGIN[:TAG]",
|
Use: "push [OPTIONS] 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 {
|
||||||
|
|
|
@ -16,7 +16,7 @@ keywords: "plugin, disable"
|
||||||
# plugin disable
|
# plugin disable
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
Usage: docker plugin disable PLUGIN
|
Usage: docker plugin disable [OPTIONS] PLUGIN
|
||||||
|
|
||||||
Disable a plugin
|
Disable a plugin
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ keywords: "plugin, push"
|
||||||
-->
|
-->
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
Usage: docker plugin push PLUGIN[:TAG]
|
Usage: docker plugin push [OPTIONS] PLUGIN[:TAG]
|
||||||
|
|
||||||
Push a plugin to a registry
|
Push a plugin to a registry
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue