Merge pull request #477 from harshavardhana/pr_out_update_command_docs_further
This commit is contained in:
commit
7c17a60d1f
1 changed files with 11 additions and 10 deletions
21
main.go
21
main.go
|
@ -63,17 +63,17 @@ var memoryCmd = cli.Command{
|
||||||
Description: "Limit maximum memory usage to SIZE in [B, KB, MB, GB]",
|
Description: "Limit maximum memory usage to SIZE in [B, KB, MB, GB]",
|
||||||
Action: runMemory,
|
Action: runMemory,
|
||||||
CustomHelpTemplate: `NAME:
|
CustomHelpTemplate: `NAME:
|
||||||
minio {{.Name}} - {{.Description}}
|
minio mode {{.Name}} - {{.Description}}
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
minio {{.Name}} SIZE
|
minio mode {{.Name}} SIZE
|
||||||
|
|
||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
1. Limit maximum memory usage to 64MB
|
1. Limit maximum memory usage to 64MB
|
||||||
$ minio {{.Name}} 64MB
|
$ minio mode {{.Name}} 64MB
|
||||||
|
|
||||||
2. Limit maximum memory usage to 4GB
|
2. Limit maximum memory usage to 4GB
|
||||||
$ minio {{.Name}} 4GB
|
$ minio mode {{.Name}} 4GB
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,17 +82,18 @@ var donutCmd = cli.Command{
|
||||||
Description: "Specify a path to instantiate donut",
|
Description: "Specify a path to instantiate donut",
|
||||||
Action: runDonut,
|
Action: runDonut,
|
||||||
CustomHelpTemplate: `NAME:
|
CustomHelpTemplate: `NAME:
|
||||||
minio {{.Name}} - {{.Description}}
|
minio mode {{.Name}} - {{.Description}}
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
minio {{.Name}} PATH
|
minio mode {{.Name}} PATH
|
||||||
|
|
||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
1. Use a regular disk to create donut
|
1. Create a donut volume under "/mnt/backup"
|
||||||
$ minio {{.Name}} /mnt/disk1
|
$ minio mode {{.Name}} /mnt/backup
|
||||||
|
|
||||||
|
2. Create a temporary donut volume under "/tmp"
|
||||||
|
$ minio mode {{.Name}} /tmp
|
||||||
|
|
||||||
2. Use a lvm group to create donut
|
|
||||||
$ minio {{.Name}} /media/lvm/groups
|
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue