object data: Moved some helptext into LongDescription
Matt Bell committed
Nov 14, 2014 at 00:34 UTC
7bd7624ccc9a5dacfb85e25477ed8650c7312d50
1 file changed
+8
-2
core/commands2/object.go
+8
-2
@@ -51,8 +51,14 @@ var objectDataCmd = &cmds.Command{
51
Helptext: cmds.HelpText{
52
Tagline: "Outputs the raw bytes in an IPFS object",
53
ShortDescription: `
54
-ipfs data is a plumbing command for retreiving the raw bytes stored in a DAG node.
55
-It outputs to stdout, and <key> is a base58 encoded multihash.
54
+ipfs data is a plumbing command for retreiving the raw bytes stored in
55
+a DAG node. It outputs to stdout, and <key> is a base58 encoded
56
+multihash.
57
+`,
58
+ LongDescription: `
59
+ipfs data is a plumbing command for retreiving the raw bytes stored in
60
+a DAG node. It outputs to stdout, and <key> is a base58 encoded
61
+multihash.
62
63
Note that the "--encoding" option does not affect the output, since the
64
output is the raw data of the object.