@cryptotaxi247 / kubo / commits / d2d29a80d

docs(commands2/cat) help text

Brian Tiger Chow committed Nov 4, 2014 at 02:57 UTC d2d29a80dccc7087e057022fe045a70bb04ac360
1 file changed +5 -1
core/commands2/cat.go
+5 -1
@@ -13,7 +13,11 @@ var catCmd = &cmds.Command{
13 Arguments: []cmds.Argument{
14 cmds.Argument{"object", cmds.ArgString, false, true},
15 },
16 - Help: "TODO",
16 + Help: `ipfs cat <ipfs-path> - Show ipfs object data.
17 +
18 + Retrieves the object named by <ipfs-path> and displays the Data
19 + it contains.
20 + `,
21 Run: func(res cmds.Response, req cmds.Request) {
22 node := req.Context().Node
23 paths := make([]string, 0, len(req.Arguments()))