lib/conjur/command/resources.rb in conjur-cli-4.28.2 vs lib/conjur/command/resources.rb in conjur-cli-4.29.0

- old
+ new

@@ -66,9 +66,10 @@ c.switch [:g, :grantable] c.action do |global_options,options,args| id = full_resource_id( require_arg(args, "RESOURCE") ) role = require_arg(args, "ROLE") privilege = require_arg(args, "PRIVILEGE") + $stderr.print "Granting #{role} permission to #{privilege} #{id}... " unless options[:g] api.resource(id).permit privilege, role else api.resource(id).permit privilege, role, grant_option: true end