fix command template typo and fix others.

master
Harshavardhana 10 years ago
parent ae685f0548
commit 81a7772fcd
  1. 8
      commands.go
  2. 2
      genversion.go

@ -77,17 +77,17 @@ var donutSubCommands = []cli.Command{
Description: "make a donut", Description: "make a donut",
Action: runMkdonut, Action: runMkdonut,
CustomHelpTemplate: `NAME: CustomHelpTemplate: `NAME:
donut {{.Name}} - {{.Description}} minio donut {{.Name}} - {{.Description}}
USAGE: USAGE:
donut {{.Name}} DONUTNAME [DISKS...] minio donut {{.Name}} DONUTNAME [DISKS...]
EXAMPLES: EXAMPLES:
1. Make a donut with 4 exports 1. Make a donut with 4 exports
$ donut {{.Name}} mongodb-backup /mnt/export1 /mnt/export2 /mnt/export3 /mnt/export4 $ minio donut {{.Name}} mongodb-backup /mnt/export1 /mnt/export2 /mnt/export3 /mnt/export4
2. Make a donut with 16 exports 2. Make a donut with 16 exports
$ donut {{.Name}} operational-data /mnt/export1 /mnt/export2 /mnt/export3 /mnt/export4 /mnt/export5 \ $ minio donut {{.Name}} operational-data /mnt/export1 /mnt/export2 /mnt/export3 /mnt/export4 /mnt/export5 \
/mnt/export6 /mnt/export7 /mnt/export8 /mnt/export9 /mnt/export10 /mnt/export11 \ /mnt/export6 /mnt/export7 /mnt/export8 /mnt/export9 /mnt/export10 /mnt/export11 \
/mnt/export12 /mnt/export13 /mnt/export14 /mnt/export15 /mnt/export16 /mnt/export12 /mnt/export13 /mnt/export14 /mnt/export15 /mnt/export16
`, `,

@ -1,7 +1,7 @@
// +build ignore // +build ignore
/* /*
* Makefile alternative for Minio Cloud Storage, (C) 2015 Minio, Inc. * Minio Cloud Storage, (C) 2015 Minio, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

Loading…
Cancel
Save