提交 adf40521 作者: Jakub Sztandera

Remove existing synopsis

License: MIT
Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
上级 6cafb465
...@@ -16,9 +16,6 @@ import ( ...@@ -16,9 +16,6 @@ import (
var MountCmd = &cmds.Command{ var MountCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Mounts IPFS to the filesystem (read-only).", Tagline: "Mounts IPFS to the filesystem (read-only).",
Synopsis: `
ipfs mount [-f <ipfs mount path>] [-n <ipns mount path>]
`,
ShortDescription: ` ShortDescription: `
Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns). Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns).
All ipfs objects will be accessible under that directory. Note that the All ipfs objects will be accessible under that directory. Note that the
......
...@@ -29,7 +29,6 @@ type PingResult struct { ...@@ -29,7 +29,6 @@ type PingResult struct {
var PingCmd = &cmds.Command{ var PingCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Send echo request packets to IPFS hosts.", Tagline: "Send echo request packets to IPFS hosts.",
Synopsis: "ipfs ping <peerId> [--count <int>| -n]",
ShortDescription: ` ShortDescription: `
'ipfs ping' is a tool to test sending data to other nodes. It finds nodes 'ipfs ping' is a tool to test sending data to other nodes. It finds nodes
via the routing system, sends pings, waits for pongs, and prints out round- via the routing system, sends pings, waits for pongs, and prints out round-
......
...@@ -20,9 +20,7 @@ const ( ...@@ -20,9 +20,7 @@ const (
var Root = &cmds.Command{ var Root = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Global p2p merkle-dag filesystem.", Tagline: "Global p2p merkle-dag filesystem.",
Synopsis: ` Synopsis: "ipfs [--config=<config> | -c] [--debug=<debug> | -D] [--help=<help>] [-h=<h>] [--local=<local> | -L] [--api=<api>] <command> ...",
ipfs [<flags>] <command> [<arg>] ...
`,
Subcommands: ` Subcommands: `
BASIC COMMANDS BASIC COMMANDS
init Initialize ipfs local configuration init Initialize ipfs local configuration
......
...@@ -19,7 +19,6 @@ import ( ...@@ -19,7 +19,6 @@ import (
var StatsCmd = &cmds.Command{ var StatsCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Query ipfs statistics.", Tagline: "Query ipfs statistics.",
Synopsis: "ipfs stats <command>",
ShortDescription: `'ipfs stats' is a set of commands to help look at statistics ShortDescription: `'ipfs stats' is a set of commands to help look at statistics
for your ipfs node. for your ipfs node.
`, `,
...@@ -37,9 +36,6 @@ for your ipfs node.`, ...@@ -37,9 +36,6 @@ for your ipfs node.`,
var statBwCmd = &cmds.Command{ var statBwCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Print ipfs bandwidth information.", Tagline: "Print ipfs bandwidth information.",
Synopsis: `ipfs stats bw [--peer <peerId> | -p] [--proto <protocol> | -t] [--poll]
[--interval <timeInterval> | -i]
`,
ShortDescription: `'ipfs stats bw' prints bandwidth information for the ipfs daemon. ShortDescription: `'ipfs stats bw' prints bandwidth information for the ipfs daemon.
It displays: TotalIn, TotalOut, RateIn, RateOut. It displays: TotalIn, TotalOut, RateIn, RateOut.
`, `,
......
...@@ -36,7 +36,6 @@ type LsOutput struct { ...@@ -36,7 +36,6 @@ type LsOutput struct {
var LsCmd = &cmds.Command{ var LsCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "List directory contents for Unix filesystem objects.", Tagline: "List directory contents for Unix filesystem objects.",
Synopsis: "ipfs file ls <path>",
ShortDescription: ` ShortDescription: `
Displays the contents of an IPFS or IPNS object(s) at the given path. Displays the contents of an IPFS or IPNS object(s) at the given path.
......
...@@ -5,7 +5,6 @@ import cmds "github.com/ipfs/go-ipfs/commands" ...@@ -5,7 +5,6 @@ import cmds "github.com/ipfs/go-ipfs/commands"
var UnixFSCmd = &cmds.Command{ var UnixFSCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Interact with ipfs objects representing Unix filesystems.", Tagline: "Interact with ipfs objects representing Unix filesystems.",
Synopsis: "ipfs file <command>",
ShortDescription: ` ShortDescription: `
'ipfs file' provides a familiar interface to file systems represented 'ipfs file' provides a familiar interface to file systems represented
by IPFS objects, which hides IPFS implementation details like layout by IPFS objects, which hides IPFS implementation details like layout
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论