Capitalized Merkle, added single quotes, periods
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
Richard Littauer committed
Feb 4, 2016 at 17:22 UTC
f92e407cd1a0127a6fd0433560894c7a009f1a12
2 files changed
+8
-8
core/commands/object/object.go
+2
-2
@@ -307,8 +307,8 @@ Examples:
307
308
echo '{ "Data": "abc" }' | ipfs object put
309
310
-This creates a node with the data "abc" and no links. For an object with links,
311
-create a file named node.json with the contents:
310
+This creates a node with the data 'abc' and no links. For an object with links,
311
+create a file named 'node.json' with the contents:
312
313
{
314
"Data": "another",
core/commands/object/patch.go
+6
-6
@@ -21,7 +21,7 @@ var ObjectPatchCmd = &cmds.Command{
21
ShortDescription: `
22
'ipfs object patch <root> <cmd> <args>' is a plumbing command used to
23
build custom DAG objects. It mutates objects, creating new objects as a
24
-result. This is the merkle-dag version of modifying an object.
24
+result. This is the Merkle-DAG version of modifying an object.
25
`,
26
},
27
Arguments: []cmds.Argument{},
@@ -51,7 +51,7 @@ Append data to what already exists in the data segment in the given object.
51
EXAMPLE:
52
$ echo "hello" | ipfs object patch $HASH append-data
53
54
-note: this does not append data to a 'file', it modifies the actual raw
54
+Note: This does not append data to a file - it modifies the actual raw
55
data within an object. Objects have a max size of 1MB and objects larger than
56
the limit will not be respected by the network.
57
`,
@@ -111,7 +111,7 @@ var patchSetDataCmd = &cmds.Command{
111
Helptext: cmds.HelpText{
112
Tagline: "Set data field of an ipfs object.",
113
ShortDescription: `
114
-Set the data of an ipfs object from stdin or with the contents of a file
114
+Set the data of an ipfs object from stdin or with the contents of a file.
115
116
EXAMPLE:
117
@@ -173,7 +173,7 @@ var patchRmLinkCmd = &cmds.Command{
173
Helptext: cmds.HelpText{
174
Tagline: "Remove a link from an object.",
175
ShortDescription: `
176
-removes a link by the given name from root.
176
+Removes a link by the given name from root.
177
`,
178
},
179
Arguments: []cmds.Argument{
@@ -233,7 +233,7 @@ var patchAddLinkCmd = &cmds.Command{
233
Helptext: cmds.HelpText{
234
Tagline: "Add a link to a given object.",
235
ShortDescription: `
236
-Add a merkle-link to the given object and return the hash of the result.
236
+Add a Merkle-link to the given object and return the hash of the result.
237
238
Examples:
239
@@ -241,7 +241,7 @@ Examples:
241
BAR=$(echo "bar" | ipfs add -q)
242
ipfs object patch $EMPTY_DIR add-link foo $BAR
243
244
-This takes an empty directory, and adds a link named foo under it, pointing to
244
+This takes an empty directory, and adds a link named 'foo' under it, pointing to
245
a file containing 'bar', and returns the hash of the new object.
246
`,
247
},