mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-27 16:07:42 +08:00
Merge pull request #2663 from ipfs/feature/add-default-to-config
Added Default to `config` cmd
This commit is contained in:
@ -51,8 +51,8 @@ Set the value of the 'datastore.path' key:
|
||||
cmds.StringArg("value", false, false, "The value to set the config entry to."),
|
||||
},
|
||||
Options: []cmds.Option{
|
||||
cmds.BoolOption("bool", "Set a boolean value. Default: false."),
|
||||
cmds.BoolOption("json", "Parse stringified JSON. Default: false."),
|
||||
cmds.BoolOption("bool", "Set a boolean value.").Default(false),
|
||||
cmds.BoolOption("json", "Parse stringified JSON.").Default(false),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.Response) {
|
||||
args := req.Arguments()
|
||||
|
Reference in New Issue
Block a user