docs(commands2/cat) help text

This commit is contained in:
Brian Tiger Chow 2014-11-04 02:57:34 -08:00 committed by Juan Batiz-Benet
parent 2a15fe8e1e
commit d2d29a80dc

View File

@ -13,7 +13,11 @@ var catCmd = &cmds.Command{
Arguments: []cmds.Argument{
cmds.Argument{"object", cmds.ArgString, false, true},
},
Help: "TODO",
Help: `ipfs cat <ipfs-path> - Show ipfs object data.
Retrieves the object named by <ipfs-path> and displays the Data
it contains.
`,
Run: func(res cmds.Response, req cmds.Request) {
node := req.Context().Node
paths := make([]string, 0, len(req.Arguments()))