diff --git a/main.go b/main.go index 5aec703..cc529fb 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,14 @@ package main -import "github.com/tonobo/mtr/cli" +import ( + "fmt" + + "github.com/tonobo/mtr/cli" +) func main() { - cli.RootCmd.Execute() + err := cli.RootCmd.Execute() + if err != nil { + fmt.Println(err) + } }