mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 01:52:26 +08:00
cmds2: change add arg name
This commit is contained in:
@ -43,7 +43,7 @@ remains to be implemented.
|
|||||||
cmds.BoolOption("recursive", "r", "Must be specified when adding directories"),
|
cmds.BoolOption("recursive", "r", "Must be specified when adding directories"),
|
||||||
},
|
},
|
||||||
Arguments: []cmds.Argument{
|
Arguments: []cmds.Argument{
|
||||||
cmds.StringArg("file", true, true, "The path to a file to be added to IPFS"),
|
cmds.StringArg("path", true, true, "The path to a file to be added to IPFS"),
|
||||||
},
|
},
|
||||||
Run: func(req cmds.Request) (interface{}, error) {
|
Run: func(req cmds.Request) (interface{}, error) {
|
||||||
added := &AddOutput{}
|
added := &AddOutput{}
|
||||||
|
Reference in New Issue
Block a user