提交 97d2f48b 作者: Juan Batiz-Benet

cmds2: change add arg name

上级 231960e7
......@@ -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{}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论