mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 20:37:53 +08:00
Merge pull request #2595 from ipfs/feature/disconnect-argument
Fix disconnect argument description
This commit is contained in:
commit
cb419254a5
@ -264,7 +264,7 @@ The disconnect is not permanent; if ipfs needs to talk to that address later, it
|
||||
`,
|
||||
},
|
||||
Arguments: []cmds.Argument{
|
||||
cmds.StringArg("address", true, true, "Address of peer to connect to.").EnableStdin(),
|
||||
cmds.StringArg("address", true, true, "Address of peer to disconnect from.").EnableStdin(),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.Response) {
|
||||
n, err := req.InvocContext().GetNode()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user