mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 04:17:44 +08:00
fix(name:resolve, name:publish) docs
This commit is contained in:
parent
101601195c
commit
2720c4f1c6
@ -16,7 +16,7 @@ var errNotOnline = errors.New("This command must be run in online mode. Try runn
|
||||
var publishCmd = &cmds.Command{
|
||||
// TODO UsageLine: "publish",
|
||||
// TODO Short: "publish a <ref> to ipns.",
|
||||
Help: `ipfs publish [<name>] <ref> - publish a <ref> to ipns.
|
||||
Help: `ipfs name publish [<name>] <ref> - publish a <ref> to ipns.
|
||||
|
||||
IPNS is a PKI namespace, where names are the hashes of public keys, and
|
||||
the private key enables publishing new (signed) values. In publish, the
|
||||
|
||||
@ -14,7 +14,7 @@ type ResolveOutput struct {
|
||||
var resolveCmd = &cmds.Command{
|
||||
// TODO UsageLine: "resolve",
|
||||
// TODO Short: "resolve an ipns name to a <ref>",
|
||||
Help: `ipfs resolve [<name>] - Resolve an ipns name to a <ref>.
|
||||
Help: `ipfs name resolve [<name>] - Resolve an ipns name to a <ref>.
|
||||
|
||||
IPNS is a PKI namespace, where names are the hashes of public keys, and
|
||||
the private key enables publishing new (signed) values. In resolve, the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user