fix: block put helptext
Dirk McCormick committed
Jun 12, 2019 at 12:44 UTC
4b6175f75cb3910716697dc7b473c3b786b16754
1 file changed
+2
-2
core/commands/block.go
+2
-2
@@ -123,9 +123,9 @@ var blockPutCmd = &cmds.Command{
123
Tagline: "Store input as an IPFS block.",
124
ShortDescription: `
125
'ipfs block put' is a plumbing command for storing raw IPFS blocks.
126
-It reads from stdin, and outputs a multihash to stdout.
126
+It reads from stdin, and outputs the block's CID to stdout.
127
128
-By default the multihash is output in CIDv0 format. Setting 'mhtype' to anything
128
+Unless specified, this command returns dag-pb CIDv0 CIDs. Setting 'mhtype' to anything
129
other than 'sha2-256' or format to anything other than 'v0' will result in CIDv1.
130
`,
131
},