Minor output fix & README improvements
This commit is contained in:
parent
2733a34033
commit
fc13f74851
2 changed files with 9 additions and 3 deletions
|
@ -63,7 +63,12 @@ var registerCmd = &cobra.Command{
|
|||
if err != nil {
|
||||
log.Fatalf("Error initializing: %s", err)
|
||||
}
|
||||
h.RegisterMachine(args[0], args[1])
|
||||
err = h.RegisterMachine(args[0], args[1])
|
||||
if err != nil {
|
||||
fmt.Printf("Error: %s", err)
|
||||
return
|
||||
}
|
||||
fmt.Println("Ook.")
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue