Fix help message usage for some commands (#2591)

This commit is contained in:
Harshavardhana
2018-11-05 10:37:33 -08:00
committed by kannappanr
parent 4479667d4c
commit b827fac635
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ import (
var adminProfilingStartFlags = []cli.Flag{
cli.StringFlag{
Name: "type",
Usage: "Profiler type, possible values are: `cpu`, `mem`, `block`, `mutex` and `trace`",
Usage: "Profiler type, possible values are 'cpu', 'mem', 'block', 'mutex' and 'trace'",
Value: "mem",
},
}
+2 -2
View File
@@ -30,11 +30,11 @@ var hostAddFlags = []cli.Flag{
cli.StringFlag{
Name: "lookup",
Value: "auto",
Usage: "bucket lookup supported by the server. Valid options are `[dns,path,auto]`",
Usage: "bucket lookup supported by the server. Valid options are '[dns,path,auto]'",
},
cli.StringFlag{
Name: "api",
Usage: "API signature. Valid options are `[S3v4, S3v2]`",
Usage: "API signature. Valid options are '[S3v4, S3v2]'",
},
}
var configHostAddCmd = cli.Command{
+1 -1
View File
@@ -30,7 +30,7 @@ var (
cli.StringFlag{
Name: "region",
Value: "us-east-1",
Usage: "Specify bucket region. Defaults to `us-east-1`.",
Usage: "Specify bucket region. Defaults to 'us-east-1'.",
},
cli.BoolFlag{
Name: "ignore-existing, p",