mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 10:47:51 +08:00
Added Default to config cmd
Part of #2484 License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
This commit is contained in:
parent
a2bcec40ba
commit
e83d0b15a8
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user