From c62b9c86df50539ecac7f50d0bc58ea7c9ace5b0 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Fri, 27 Jan 2017 16:17:02 +0100 Subject: [PATCH] Add [OPTIONS] to usage of `plugin disable|push` Signed-off-by: Harald Albers Upstream-commit: 0e9401f84b29cde01b24f71158154b0d1e7f688e Component: cli --- components/cli/command/plugin/disable.go | 2 +- components/cli/command/plugin/push.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cli/command/plugin/disable.go b/components/cli/command/plugin/disable.go index c3d36e20af..07b0ec2288 100644 --- a/components/cli/command/plugin/disable.go +++ b/components/cli/command/plugin/disable.go @@ -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 { diff --git a/components/cli/command/plugin/push.go b/components/cli/command/plugin/push.go index c5c906b821..6b826dce68 100644 --- a/components/cli/command/plugin/push.go +++ b/components/cli/command/plugin/push.go @@ -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 {