Signed-off-by: Cao Weiwei <cao.weiwei30@zte.com.cn>
This commit is contained in:
Cao Weiwei 2016-08-28 21:30:14 +08:00
parent 2791c2ec28
commit efdd29abcf
1 changed files with 1 additions and 1 deletions

View File

@ -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 {