瀏覽代碼

Fix typo

Signed-off-by: Cao Weiwei <cao.weiwei30@zte.com.cn>
Cao Weiwei 9 年之前
父節點
當前提交
cec564984e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cli/cobra.go

+ 1 - 1
cli/cobra.go

@@ -17,7 +17,7 @@ func SetupRootCommand(rootCmd *cobra.Command) {
 	rootCmd.PersistentFlags().MarkShorthandDeprecated("help", "please use --help")
 	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
 // docker/docker/cli error messages
 func FlagErrorFunc(cmd *cobra.Command, err error) error {
 func FlagErrorFunc(cmd *cobra.Command, err error) error {
 	if err == nil {
 	if err == nil {