diff --git a/core/commands2/ls.go b/core/commands2/ls.go index 5caa711791d3c915f02c3bafb950a9d87fc7bcf4..af8e410f52d30337f3f86a35d4d0071c43496fc8 100644 --- a/core/commands2/ls.go +++ b/core/commands2/ls.go @@ -26,7 +26,16 @@ var lsCmd = &cmds.Command{ Arguments: []cmds.Argument{ cmds.Argument{"object", cmds.ArgString, false, true}, }, - Help: "TODO", + // TODO UsageLine: "ls", + // TODO Short: "List links from an object.", + Help: `ipfs ls <ipfs-path> - List links from an object. + + Retrieves the object named by <ipfs-path> and displays the links + it contains, with the following format: + + <link base58 hash> <link size in bytes> <link name> + +`, Run: func(res cmds.Response, req cmds.Request) { node := req.Context().Node