From 80a8d7ca26b13745d6a3e83b9bc8d043b09d5ebf Mon Sep 17 00:00:00 2001 From: Nikhil Chawla Date: Mon, 6 Mar 2017 17:31:04 +0530 Subject: [PATCH] Fixed the typo in the code Signed-off-by: Nikhil Chawla --- cobra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra.go b/cobra.go index 962b314412..b01774f04a 100644 --- a/cobra.go +++ b/cobra.go @@ -30,7 +30,7 @@ func SetupRootCommand(rootCmd *cobra.Command) { // docker/docker/cli error messages func FlagErrorFunc(cmd *cobra.Command, err error) error { if err == nil { - return err + return nil } usage := ""