@@ -75,12 +75,12 @@ var objectDataCmd = &cmds.Command{
75
75
Helptext : cmds.HelpText {
76
76
Tagline : "Outputs the raw bytes in an IPFS object" ,
77
77
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
79
79
a DAG node. It outputs to stdout, and <key> is a base58 encoded
80
80
multihash.
81
81
` ,
82
82
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
84
84
a DAG node. It outputs to stdout, and <key> is a base58 encoded
85
85
multihash.
86
86
@@ -431,20 +431,20 @@ var objectPatchCmd = &cmds.Command{
431
431
Helptext : cmds.HelpText {
432
432
Tagline : "Create a new merkledag object based on an existing one" ,
433
433
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
435
435
build custom DAG objects. It adds and removes links from objects, creating a new
436
436
object as a result. This is the merkle-dag version of modifying an object.
437
437
438
438
Examples:
439
439
440
440
EMPTY_DIR=$(ipfs object new unixfs-dir)
441
441
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
443
443
444
444
This takes an empty directory, and adds a link named foo under it, pointing to
445
445
a file containing 'bar', and returns the hash of the new object.
446
446
447
- ipfs patch $FOO_BAR rm-link foo
447
+ ipfs object patch $FOO_BAR rm-link foo
448
448
449
449
This removes the link named foo from the hash in $FOO_BAR and returns the
450
450
resulting object hash.
0 commit comments