@@ -180,7 +180,10 @@ func main() {
},
}
- app.Run(os.Args)
+ if err := app.Run(os.Args); err != nil {
+ fmt.Fprintln(os.Stderr, err)
+ os.Exit(1)
+ }
func showNetwork(ctx *cli.Context) error {