提交 2720c4f1 作者: Brian Tiger Chow 提交者: Juan Batiz-Benet

fix(name:resolve, name:publish) docs

上级 10160119
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论