mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-20 02:21:48 +08:00
Capitalized beginning of line messages, added periods
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
This commit is contained in:
@ -55,7 +55,7 @@ on raw ipfs blocks. It outputs the following to stdout:
|
||||
},
|
||||
|
||||
Arguments: []cmds.Argument{
|
||||
cmds.StringArg("key", true, false, "The base58 multihash of an existing block to get").EnableStdin(),
|
||||
cmds.StringArg("key", true, false, "The base58 multihash of an existing block to get.").EnableStdin(),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.Response) {
|
||||
b, err := getBlockForKey(req, req.Arguments()[0])
|
||||
@ -88,7 +88,7 @@ It outputs to stdout, and <key> is a base58 encoded multihash.
|
||||
},
|
||||
|
||||
Arguments: []cmds.Argument{
|
||||
cmds.StringArg("key", true, false, "The base58 multihash of an existing block to get").EnableStdin(),
|
||||
cmds.StringArg("key", true, false, "The base58 multihash of an existing block to get.").EnableStdin(),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.Response) {
|
||||
b, err := getBlockForKey(req, req.Arguments()[0])
|
||||
@ -111,7 +111,7 @@ It reads from stdin, and <key> is a base58 encoded multihash.
|
||||
},
|
||||
|
||||
Arguments: []cmds.Argument{
|
||||
cmds.FileArg("data", true, false, "The data to be stored as an IPFS block").EnableStdin(),
|
||||
cmds.FileArg("data", true, false, "The data to be stored as an IPFS block.").EnableStdin(),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.Response) {
|
||||
n, err := req.InvocContext().GetNode()
|
||||
|
Reference in New Issue
Block a user