Fix help message usage for some commands (#2591)
This commit is contained in:
committed by
kannappanr
parent
4479667d4c
commit
b827fac635
@@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user