1
0
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:
Juan Batiz-Benet
2014-11-14 02:15:24 -08:00
parent 231960e726
commit 97d2f48b7c

View File

@ -43,7 +43,7 @@ remains to be implemented.
cmds.BoolOption("recursive", "r", "Must be specified when adding directories"),
},
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) {
added := &AddOutput{}