Fix admin help messages and docs (#2884)

This commit is contained in:
Harshavardhana
2019-09-06 10:07:30 -07:00
committed by GitHub
parent 22ab93da0f
commit 5fc35b6682
17 changed files with 127 additions and 68 deletions
+4 -3
View File
@@ -34,15 +34,16 @@ var adminGroupRemoveCmd = cli.Command{
{{.HelpName}} - {{.Usage}}
USAGE:
{{.HelpName}} TARGET GROUPNAME [MEMBERS...]
{{.HelpName}} TARGET GROUPNAME [USERNAMES...]
FLAGS:
{{range .VisibleFlags}}{{.}}
{{end}}
EXAMPLES:
1. Remove members 'tencent' and 'fivecent' from group 'allcents':
1. Remove members 'tencent' and 'fivecent' from group 'allcents'.
$ {{.HelpName}} myminio allcents tencent fivecent
2. Remove group 'allcents':
2. Remove group 'allcents'.
$ {{.HelpName}} myminio allcents
`,
}