Skip to content

Commit 3a1c8d7

Browse files
committed
Merge pull request #1400 from dylanPowers/object-help
"object" added to the descriptions of object patch and object data
2 parents 594c1bf + 3f22954 commit 3a1c8d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/commands/object.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ var objectDataCmd = &cmds.Command{
7575
Helptext: cmds.HelpText{
7676
Tagline: "Outputs the raw bytes in an IPFS object",
7777
ShortDescription: `
78-
ipfs data is a plumbing command for retreiving the raw bytes stored in
78+
ipfs object data is a plumbing command for retreiving the raw bytes stored in
7979
a DAG node. It outputs to stdout, and <key> is a base58 encoded
8080
multihash.
8181
`,
8282
LongDescription: `
83-
ipfs data is a plumbing command for retreiving the raw bytes stored in
83+
ipfs object data is a plumbing command for retreiving the raw bytes stored in
8484
a DAG node. It outputs to stdout, and <key> is a base58 encoded
8585
multihash.
8686
@@ -431,20 +431,20 @@ var objectPatchCmd = &cmds.Command{
431431
Helptext: cmds.HelpText{
432432
Tagline: "Create a new merkledag object based on an existing one",
433433
ShortDescription: `
434-
'ipfs patch <root> [add-link|rm-link] <args>' is a plumbing command used to
434+
'ipfs object patch <root> [add-link|rm-link] <args>' is a plumbing command used to
435435
build custom DAG objects. It adds and removes links from objects, creating a new
436436
object as a result. This is the merkle-dag version of modifying an object.
437437
438438
Examples:
439439
440440
EMPTY_DIR=$(ipfs object new unixfs-dir)
441441
BAR=$(echo "bar" | ipfs add -q)
442-
ipfs patch $EMPTY_DIR add-link foo $BAR
442+
ipfs object patch $EMPTY_DIR add-link foo $BAR
443443
444444
This takes an empty directory, and adds a link named foo under it, pointing to
445445
a file containing 'bar', and returns the hash of the new object.
446446
447-
ipfs patch $FOO_BAR rm-link foo
447+
ipfs object patch $FOO_BAR rm-link foo
448448
449449
This removes the link named foo from the hash in $FOO_BAR and returns the
450450
resulting object hash.

0 commit comments

Comments
 (0)