Skip to content

Commit 354b784

Browse files
committed
Remove existing synopsis
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
1 parent a9ec6ca commit 354b784

File tree

6 files changed

+3
-16
lines changed

6 files changed

+3
-16
lines changed

core/commands/mount_unix.go

-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ import (
1616
var MountCmd = &cmds.Command{
1717
Helptext: cmds.HelpText{
1818
Tagline: "Mounts IPFS to the filesystem (read-only).",
19-
Synopsis: `
20-
ipfs mount [-f <ipfs mount path>] [-n <ipns mount path>]
21-
`,
2219
ShortDescription: `
2320
Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns).
2421
All ipfs objects will be accessible under that directory. Note that the

core/commands/ping.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ type PingResult struct {
2828

2929
var PingCmd = &cmds.Command{
3030
Helptext: cmds.HelpText{
31-
Tagline: "Send echo request packets to IPFS hosts.",
32-
Synopsis: "ipfs ping <peerId> [--count <int>| -n]",
31+
Tagline: "Send echo request packets to IPFS hosts.",
3332
ShortDescription: `
3433
'ipfs ping' is a tool to test sending data to other nodes. It finds nodes
3534
via the routing system, sends pings, waits for pongs, and prints out round-

core/commands/root.go

-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ const (
2020
var Root = &cmds.Command{
2121
Helptext: cmds.HelpText{
2222
Tagline: "Global p2p merkle-dag filesystem.",
23-
Synopsis: `
24-
ipfs [<flags>] <command> [<arg>] ...
25-
`,
2623
Subcommands: `
2724
BASIC COMMANDS
2825
init Initialize ipfs local configuration

core/commands/stat.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import (
1818

1919
var StatsCmd = &cmds.Command{
2020
Helptext: cmds.HelpText{
21-
Tagline: "Query ipfs statistics.",
22-
Synopsis: "ipfs stats <command>",
21+
Tagline: "Query ipfs statistics.",
2322
ShortDescription: `'ipfs stats' is a set of commands to help look at statistics
2423
for your ipfs node.
2524
`,
@@ -35,9 +34,6 @@ for your ipfs node.`,
3534
var statBwCmd = &cmds.Command{
3635
Helptext: cmds.HelpText{
3736
Tagline: "Print ipfs bandwidth information.",
38-
Synopsis: `ipfs stats bw [--peer <peerId> | -p] [--proto <protocol> | -t] [--poll]
39-
[--interval <timeInterval> | -i]
40-
`,
4137
ShortDescription: `'ipfs stats bw' prints bandwidth information for the ipfs daemon.
4238
It displays: TotalIn, TotalOut, RateIn, RateOut.
4339
`,

core/commands/unixfs/ls.go

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ type LsOutput struct {
3636
var LsCmd = &cmds.Command{
3737
Helptext: cmds.HelpText{
3838
Tagline: "List directory contents for Unix filesystem objects.",
39-
Synopsis: "ipfs file ls <path>",
4039
ShortDescription: `
4140
Displays the contents of an IPFS or IPNS object(s) at the given path.
4241

core/commands/unixfs/unixfs.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ import cmds "github.com/ipfs/go-ipfs/commands"
55
var UnixFSCmd = &cmds.Command{
66
Helptext: cmds.HelpText{
77
Tagline: "Interact with ipfs objects representing Unix filesystems.",
8-
Synopsis: "ipfs file <command>",
98
ShortDescription: `
109
'ipfs file' provides a familiar interface to file systems represented
1110
by IPFS objects, which hides IPFS implementation details like layout
1211
objects (e.g. fanout and chunking).
1312
`,
14-
LongDescription: `
13+
LongDescription: `
1514
'ipfs file' provides a familiar interface to file systems represented
1615
by IPFS objects, which hides IPFS implementation details like layout
1716
objects (e.g. fanout and chunking).

0 commit comments

Comments
 (0)