@cryptotaxi247 / kubo / commits / 97d2f48b7

cmds2: change add arg name

Juan Batiz-Benet committed Nov 14, 2014 at 02:15 UTC 97d2f48b7cdae7220eb2f1457e9749bf78f95f2f
1 file changed +1 -1
core/commands2/add.go
+1 -1
@@ -43,7 +43,7 @@ remains to be implemented.
43 cmds.BoolOption("recursive", "r", "Must be specified when adding directories"),
44 },
45 Arguments: []cmds.Argument{
46 - cmds.StringArg("file", true, true, "The path to a file to be added to IPFS"),
46 + cmds.StringArg("path", true, true, "The path to a file to be added to IPFS"),
47 },
48 Run: func(req cmds.Request) (interface{}, error) {
49 added := &AddOutput{}