Skip to content

Commit f92e407

Browse files
committedFeb 4, 2016
Capitalized Merkle, added single quotes, periods
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
1 parent 268ec78 commit f92e407

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed
 

‎core/commands/object/object.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ Examples:
307307
308308
echo '{ "Data": "abc" }' | ipfs object put
309309
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:
312312
313313
{
314314
"Data": "another",

‎core/commands/object/patch.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var ObjectPatchCmd = &cmds.Command{
2121
ShortDescription: `
2222
'ipfs object patch <root> <cmd> <args>' is a plumbing command used to
2323
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.
2525
`,
2626
},
2727
Arguments: []cmds.Argument{},
@@ -51,7 +51,7 @@ Append data to what already exists in the data segment in the given object.
5151
EXAMPLE:
5252
$ echo "hello" | ipfs object patch $HASH append-data
5353
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
5555
data within an object. Objects have a max size of 1MB and objects larger than
5656
the limit will not be respected by the network.
5757
`,
@@ -111,7 +111,7 @@ var patchSetDataCmd = &cmds.Command{
111111
Helptext: cmds.HelpText{
112112
Tagline: "Set data field of an ipfs object.",
113113
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.
115115
116116
EXAMPLE:
117117
@@ -173,7 +173,7 @@ var patchRmLinkCmd = &cmds.Command{
173173
Helptext: cmds.HelpText{
174174
Tagline: "Remove a link from an object.",
175175
ShortDescription: `
176-
removes a link by the given name from root.
176+
Removes a link by the given name from root.
177177
`,
178178
},
179179
Arguments: []cmds.Argument{
@@ -233,15 +233,15 @@ var patchAddLinkCmd = &cmds.Command{
233233
Helptext: cmds.HelpText{
234234
Tagline: "Add a link to a given object.",
235235
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.
237237
238238
Examples:
239239
240240
EMPTY_DIR=$(ipfs object new unixfs-dir)
241241
BAR=$(echo "bar" | ipfs add -q)
242242
ipfs object patch $EMPTY_DIR add-link foo $BAR
243243
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
245245
a file containing 'bar', and returns the hash of the new object.
246246
`,
247247
},

0 commit comments

Comments
 (0)
Please sign in to comment.