@cryptotaxi247 / kubo / commits / 3f22954f7

"object" added to the descriptions of object patch and object data

License: MIT Signed-off-by: Dylan Powers <dylan.kyle.powers@gmail.com>

Dylan Powers committed Jun 19, 2015 at 14:14 UTC 3f22954f7ce5871865d2678d9d7115129972efdc
1 file changed +5 -5
core/commands/object.go
+5 -5
@@ -75,12 +75,12 @@ var objectDataCmd = &cmds.Command{
75 Helptext: cmds.HelpText{
76 Tagline: "Outputs the raw bytes in an IPFS object",
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 a DAG node. It outputs to stdout, and <key> is a base58 encoded
80 multihash.
81 `,
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 a DAG node. It outputs to stdout, and <key> is a base58 encoded
85 multihash.
86
@@ -411,7 +411,7 @@ var objectPatchCmd = &cmds.Command{
411 Helptext: cmds.HelpText{
412 Tagline: "Create a new merkledag object based on an existing one",
413 ShortDescription: `
414 -'ipfs patch <root> [add-link|rm-link] <args>' is a plumbing command used to
414 +'ipfs object patch <root> [add-link|rm-link] <args>' is a plumbing command used to
415 build custom DAG objects. It adds and removes links from objects, creating a new
416 object as a result. This is the merkle-dag version of modifying an object.
417
@@ -419,12 +419,12 @@ Examples:
419
420 EMPTY_DIR=$(ipfs object new unixfs-dir)
421 BAR=$(echo "bar" | ipfs add -q)
422 - ipfs patch $EMPTY_DIR add-link foo $BAR
422 + ipfs object patch $EMPTY_DIR add-link foo $BAR
423
424 This takes an empty directory, and adds a link named foo under it, pointing to
425 a file containing 'bar', and returns the hash of the new object.
426
427 - ipfs patch $FOO_BAR rm-link foo
427 + ipfs object patch $FOO_BAR rm-link foo
428
429 This removes the link named foo from the hash in $FOO_BAR and returns the
430 resulting object hash.