Minor patch to change-role

This commit is contained in:
Eduard Urbach 2019-04-19 16:46:22 +09:00
parent db72609650
commit d95305f95d

View File

@ -20,6 +20,12 @@ func init() {
func main() {
defer arn.Node.Close()
// Show usage if needed
if userID == "" || role == "" {
flag.Usage()
return
}
// Get user
user, err := arn.GetUser(userID)
arn.PanicOnError(err)