mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
Merge pull request #2412 from ipfs/docs/config-opts-defaults
Added defaults to config opts descriptions
This commit is contained in:
@ -58,8 +58,8 @@ Set the value of the 'datastore.path' key:
|
|||||||
cmds.StringArg("value", false, false, "The value to set the config entry to."),
|
cmds.StringArg("value", false, false, "The value to set the config entry to."),
|
||||||
},
|
},
|
||||||
Options: []cmds.Option{
|
Options: []cmds.Option{
|
||||||
cmds.BoolOption("bool", "Set a boolean value."),
|
cmds.BoolOption("bool", "Set a boolean value. Default: false."),
|
||||||
cmds.BoolOption("json", "Parse stringified JSON."),
|
cmds.BoolOption("json", "Parse stringified JSON. Default: false."),
|
||||||
},
|
},
|
||||||
Run: func(req cmds.Request, res cmds.Response) {
|
Run: func(req cmds.Request, res cmds.Response) {
|
||||||
args := req.Arguments()
|
args := req.Arguments()
|
||||||
|
Reference in New Issue
Block a user