From 3cff0ce1b92224c37d902c8678c0425f73592fc5 Mon Sep 17 00:00:00 2001 From: Alessandro Valcepina Date: Thu, 25 Apr 2019 14:23:29 +0200 Subject: [PATCH] fixed revoking roles --- cmd/revoke.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", "", "", "") }