提交 f7126bbd 作者: Jeromy Johnson

Merge pull request #2351 from ipfs/docs/tar

Capped IPFS, added period
...@@ -13,7 +13,7 @@ import ( ...@@ -13,7 +13,7 @@ import (
var TarCmd = &cmds.Command{ var TarCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Utility functions for tar files in ipfs.", Tagline: "Utility functions for tar files in IPFS.",
}, },
Subcommands: map[string]*cmds.Command{ Subcommands: map[string]*cmds.Command{
...@@ -75,14 +75,14 @@ var tarAddCmd = &cmds.Command{ ...@@ -75,14 +75,14 @@ var tarAddCmd = &cmds.Command{
var tarCatCmd = &cmds.Command{ var tarCatCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Export a tar file from ipfs.", Tagline: "Export a tar file from IPFS.",
ShortDescription: ` ShortDescription: `
'ipfs tar cat' will export a tar file from a previously imported one in ipfs 'ipfs tar cat' will export a tar file from a previously imported one in IPFS.
`, `,
}, },
Arguments: []cmds.Argument{ Arguments: []cmds.Argument{
cmds.StringArg("path", true, false, "Ipfs path of archive to export.").EnableStdin(), cmds.StringArg("path", true, false, "IPFS path of archive to export.").EnableStdin(),
}, },
Run: func(req cmds.Request, res cmds.Response) { Run: func(req cmds.Request, res cmds.Response) {
nd, err := req.InvocContext().GetNode() nd, err := req.InvocContext().GetNode()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论