mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-26 23:53:19 +08:00
Noted ability to specify multiple keys in bitswap unwant
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
This commit is contained in:
@ -31,7 +31,7 @@ var unwantCmd = &cmds.Command{
|
|||||||
Tagline: "Remove a given block from your wantlist.",
|
Tagline: "Remove a given block from your wantlist.",
|
||||||
},
|
},
|
||||||
Arguments: []cmds.Argument{
|
Arguments: []cmds.Argument{
|
||||||
cmds.StringArg("key", true, true, "Key to remove from your wantlist.").EnableStdin(),
|
cmds.StringArg("key", true, true, "Key(s) to remove from your wantlist.").EnableStdin(),
|
||||||
},
|
},
|
||||||
Run: func(req cmds.Request, res cmds.Response) {
|
Run: func(req cmds.Request, res cmds.Response) {
|
||||||
nd, err := req.InvocContext().GetNode()
|
nd, err := req.InvocContext().GetNode()
|
||||||
|
Reference in New Issue
Block a user