controller: Fix controller cli arguments.

This commit is contained in:
Harshavardhana 2016-08-17 11:41:04 -07:00
parent e2498edb45
commit cb77586508

View File

@ -45,20 +45,20 @@ var healCmd = cli.Command{
Usage: "To heal objects.", Usage: "To heal objects.",
Action: healControl, Action: healControl,
CustomHelpTemplate: `NAME: CustomHelpTemplate: `NAME:
minio {{.Name}} - {{.Usage}} minio control {{.Name}} - {{.Usage}}
USAGE: USAGE:
minio {{.Name}} heal minio control {{.Name}}
EAMPLES: EAMPLES:
1. Heal an object. 1. Heal an object.
$ minio control heal http://localhost:9000/songs/classical/western/piano.mp3 $ minio control {{.Name}} http://localhost:9000/songs/classical/western/piano.mp3
2. Heal all objects in a bucket recursively. 2. Heal all objects in a bucket recursively.
$ minio control heal http://localhost:9000/songs $ minio control {{.Name}} http://localhost:9000/songs
3. Heall all objects with a given prefix recursively. 3. Heall all objects with a given prefix recursively.
$ minio control heal http://localhost:9000/songs/classical/ $ minio control {{.Name}} http://localhost:9000/songs/classical/
`, `,
} }