Commit 2720c4f1 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

fix(name:resolve, name:publish) docs

parent 10160119
...@@ -16,7 +16,7 @@ var errNotOnline = errors.New("This command must be run in online mode. Try runn ...@@ -16,7 +16,7 @@ var errNotOnline = errors.New("This command must be run in online mode. Try runn
var publishCmd = &cmds.Command{ var publishCmd = &cmds.Command{
// TODO UsageLine: "publish", // TODO UsageLine: "publish",
// TODO Short: "publish a <ref> to ipns.", // 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 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 the private key enables publishing new (signed) values. In publish, the
......
...@@ -14,7 +14,7 @@ type ResolveOutput struct { ...@@ -14,7 +14,7 @@ type ResolveOutput struct {
var resolveCmd = &cmds.Command{ var resolveCmd = &cmds.Command{
// TODO UsageLine: "resolve", // TODO UsageLine: "resolve",
// TODO Short: "resolve an ipns name to a <ref>", // 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 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 the private key enables publishing new (signed) values. In resolve, the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment