Return from the function

This commit is contained in:
Evan 2024-04-05 22:49:59 -04:00
parent 547ebd6bd7
commit 85aedbbdf0

View file

@ -82,9 +82,7 @@ func Start(args []string) error {
app.Usage = `` app.Usage = ``
app.Copyright = "(C) 2019 Shuhei Kubota" app.Copyright = "(C) 2019 Shuhei Kubota"
app.SuppressErrorOutput = true app.SuppressErrorOutput = true
if err := app.Run(os.Args); err != nil { return app.Run(args)
fmt.Fprintln(os.Stderr, err)
}
} }
var ( var (