diff --git a/cmd/admin-policy-set.go b/cmd/admin-policy-set.go index f29ca47f..9f2c835f 100644 --- a/cmd/admin-policy-set.go +++ b/cmd/admin-policy-set.go @@ -41,7 +41,7 @@ USAGE: {{.HelpName}} TARGET POLICYNAME [ user=username1 | group=groupname1 ] POLICYNAME: - Name of the policy on the MinIO server. + Name of the policy on the MinIO server. To set multiple policies, separate names with a comma (,). FLAGS: {{range .VisibleFlags}}{{.}} @@ -52,6 +52,9 @@ EXAMPLES: 2. Set the "readonly" policy for group "auditors". {{.Prompt}} {{.HelpName}} myminio readonly group=auditors + + 3. Set the "readonly" and the "diagnostics" policies for user "alice" + {{.Prompt}} {{.HelpName}} myminio readonly,diagnostics user=alice `, }