Return from the function
This commit is contained in:
parent
547ebd6bd7
commit
85aedbbdf0
1 changed files with 1 additions and 3 deletions
4
vvin.go
4
vvin.go
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue