update json flag help to indicate the correct format (#3411)
some users may get confused without reading the docs might end up assuming that --json is a full JSON document.
This commit is contained in:
+2
-2
@@ -83,8 +83,8 @@ SCAN MODES:
|
||||
normal (default): Heal objects which are missing on one or more disks.
|
||||
deep : Heal objects which are missing or with silent data corruption on one or more disks.
|
||||
|
||||
EXAMPLES:
|
||||
DEPRECATED
|
||||
DEPRECATED:
|
||||
MinIO server now supports auto-heal, this command will be removed in future.
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ var globalFlags = []cli.Flag{
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "json",
|
||||
Usage: "enable JSON formatted output",
|
||||
Usage: "enable JSON lines formatted output",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "debug",
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ var updateCmd = cli.Command{
|
||||
Flags: []cli.Flag{
|
||||
cli.BoolFlag{
|
||||
Name: "json",
|
||||
Usage: "enable JSON formatted output",
|
||||
Usage: "enable JSON lines formatted output",
|
||||
},
|
||||
},
|
||||
CustomHelpTemplate: `Name:
|
||||
|
||||
@@ -265,7 +265,7 @@ mc: <DEBUG> Response Time: 1.220112837s
|
||||
```
|
||||
|
||||
### Option [--json]
|
||||
JSON option enables parseable output in [JSON lines](http://jsonlines.org/) format.
|
||||
JSON option enables parseable output in [JSON lines](http://jsonlines.org/), also called as [NDJSON](http://ndjson.org/) format.
|
||||
|
||||
*Example: List all buckets from MinIO play service.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user