Merge pull request #742 from harshavardhana/pr_out_add_mkdonut_examples

Add mkdonut examples
master
Harshavardhana 9 years ago
commit 07eb9d9a4c
  1. 12
      cmd/mkdonut/main.go

@ -147,9 +147,15 @@ func main() {
USAGE: USAGE:
{{.Name}} {{if .Flags}}[global flags] {{end}}command{{if .Flags}} [command flags]{{end}} [arguments...] {{.Name}} {{if .Flags}}[global flags] {{end}}command{{if .Flags}} [command flags]{{end}} [arguments...]
COMMANDS: EXAMPLES:
{{range .Commands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}} 1. Create a donut with four disks
{{end}}{{if .Flags}} $ {{.Name}} donuttest /mnt/export1 /mnt/export2 /mnt/export3 /mnt/export4
2. Create a donut with sixteen disks
$ {{.Name}} donut-16 /mnt/export1 /mnt/export2 /mnt/export3 /mnt/export4 /mnt/export5 \
/mnt/export6 /mnt/export7 /mnt/export8 /mnt/export9 /mnt/export10 /mnt/export11 \
/mnt/export12 /mnt/export13 /mnt/export14 /mnt/export15 /mnt/export16
{{if .Flags}}
GLOBAL FLAGS: GLOBAL FLAGS:
{{range .Flags}}{{.}} {{range .Flags}}{{.}}
{{end}}{{end}} {{end}}{{end}}

Loading…
Cancel
Save