mirror of https://github.com/docker/cli.git
Fixed the typo in the code
Signed-off-by: Nikhil Chawla <chawlanikhil24@gmail.com>
This commit is contained in:
parent
6d194cd68d
commit
80a8d7ca26
2
cobra.go
2
cobra.go
|
@ -30,7 +30,7 @@ func SetupRootCommand(rootCmd *cobra.Command) {
|
||||||
// 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 {
|
||||||
return err
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
usage := ""
|
usage := ""
|
||||||
|
|
Loading…
Reference in New Issue