cmd exit 1 if err
This commit is contained in:
parent
7a5fb74ce4
commit
5e8e932d48
1 changed files with 4 additions and 1 deletions
|
|
@ -260,5 +260,8 @@ func main() {
|
|||
}})
|
||||
}
|
||||
|
||||
parser.Parse()
|
||||
_, err := parser.Parse()
|
||||
if err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue