forked from Elara6331/itd
		
	Remove exit error handler because it causes duplicated help text
This commit is contained in:
		| @@ -186,13 +186,6 @@ func main() { | |||||||
| 		After: func(*cli.Context) error { | 		After: func(*cli.Context) error { | ||||||
| 			return client.Close() | 			return client.Close() | ||||||
| 		}, | 		}, | ||||||
| 		ExitErrHandler: func(c *cli.Context, err error) { |  | ||||||
| 			cli.ShowCommandHelp(c, c.Command.Name) |  | ||||||
| 			if err != nil { |  | ||||||
| 				log.Fatal().Msgf("%v", err) |  | ||||||
| 			} |  | ||||||
| 			os.Exit(0) |  | ||||||
| 		}, |  | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	err := app.Run(os.Args) | 	err := app.Run(os.Args) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user