diff --git a/cmd/revoke.go b/cmd/revoke.go index eaf5d62..7e1c2bd 100644 --- a/cmd/revoke.go +++ b/cmd/revoke.go @@ -75,5 +75,5 @@ func init() { revokeCmd.MarkFlagRequired("user") revokeCmd.Flags().StringVarP(&Kind, "kind", "k", "", "") revokeCmd.Flags().StringVarP(&Name, "name", "n", "", "") - revokeCmd.MarkFlagRequired("role") + revokeCmd.Flags().StringVarP(&Role, "role", "", "", "") }