diff --git a/core/commands/pin/remotepin.go b/core/commands/pin/remotepin.go index c05fe157980cb94311b3ea2b17c282e6340f2a0b..9d1e3d60bfa0134247b8f5531394f09e57aa2bf6 100644 --- a/core/commands/pin/remotepin.go +++ b/core/commands/pin/remotepin.go @@ -56,8 +56,9 @@ const pinNameOptionName = "name" const pinCIDsOptionName = "cid" const pinStatusOptionName = "status" const pinServiceNameOptionName = "service" -const pinServiceEndpointOptionName = "endpoint" -const pinServiceKeyOptionName = "key" +const pinServiceNameArgName = pinServiceNameOptionName +const pinServiceEndpointArgName = "endpoint" +const pinServiceKeyArgName = "key" const pinServiceStatOptionName = "stat" const pinBackgroundOptionName = "background" const pinForceOptionName = "force" @@ -119,7 +120,7 @@ Status of background pin requests can be inspected with the 'ls' command: }, Arguments: []cmds.Argument{ - cmds.StringArg("ipfs-path-or-cid", true, false, "Path to object(s) to be pinned."), + cmds.StringArg("ipfs-path", true, false, "Path to object(s) to be pinned."), }, Options: []cmds.Option{ pinServiceNameOption, @@ -421,9 +422,9 @@ TIP: `, }, Arguments: []cmds.Argument{ - cmds.StringArg(pinServiceNameOptionName, true, false, "Service name."), - cmds.StringArg(pinServiceEndpointOptionName, true, false, "Service endpoint."), - cmds.StringArg(pinServiceKeyOptionName, true, false, "Service key."), + cmds.StringArg(pinServiceNameArgName, true, false, "Service name."), + cmds.StringArg(pinServiceEndpointArgName, true, false, "Service endpoint."), + cmds.StringArg(pinServiceKeyArgName, true, false, "Service key."), }, Type: nil, Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {