From cec564984eff0d850b9ea5814958cda8996f8d4e Mon Sep 17 00:00:00 2001 From: Cao Weiwei Date: Sun, 28 Aug 2016 21:30:14 +0800 Subject: [PATCH] Fix typo Signed-off-by: Cao Weiwei --- cli/cobra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cobra.go b/cli/cobra.go index f924e67b27..836196d76e 100644 --- a/cli/cobra.go +++ b/cli/cobra.go @@ -17,7 +17,7 @@ func SetupRootCommand(rootCmd *cobra.Command) { rootCmd.PersistentFlags().MarkShorthandDeprecated("help", "please use --help") } -// FlagErrorFunc prints an error messages which matches the format of the +// FlagErrorFunc prints an error message which matches the format of the // docker/docker/cli error messages func FlagErrorFunc(cmd *cobra.Command, err error) error { if err == nil {