@@ -32,18 +32,21 @@ var StatsCmd = &cmds.Command{
32
32
var statBwCmd = & cmds.Command {
33
33
Helptext : cmds.HelpText {
34
34
Tagline : "Print ipfs bandwidth information." ,
35
- Synopsis : "ipfs stats bw [--peer <peerId> | -p] [--proto <protocol> | -t] [--poll] [--interval <timeInterval> | -i]" ,
35
+ Synopsis : `ipfs stats bw [--peer <peerId> | -p] [--proto <protocol> | -t] [--poll]
36
+ [--interval <timeInterval> | -i]
37
+ ` ,
36
38
ShortDescription : `'ipfs stats bw' prints bandwidth information for the ipfs daemon.
37
39
It displays: TotalIn, TotalOut, RateIn, RateOut.
38
40
` ,
39
41
LongDescription : `'ipfs stats bw' prints bandwidth information for the ipfs daemon.
40
42
It displays: TotalIn, TotalOut, RateIn, RateOut.
41
43
42
- By default, overall bandwidth and all protocols are shown. To limit bandwidth to
43
- a particular peer, use the 'peer' option along with that peer's multihash id. To
44
- specify a specific protocol, use the 'proto' option. The 'peer' and 'proto'
45
- options cannot be specified simultaneously. The protocols that be queried using
46
- this method are outlined in the specification: https://github.com/ipfs/specs/blob/master/libp2p/7-properties.md#757-protocol-multicodecs
44
+ By default, overall bandwidth and all protocols are shown. To limit bandwidth
45
+ to a particular peer, use the 'peer' option along with that peer's multihash
46
+ id. To specify a specific protocol, use the 'proto' option. The 'peer' and
47
+ 'proto' options cannot be specified simultaneously. The protocols that are
48
+ queried using this method are outlined in the specification:
49
+ https://github.com/ipfs/specs/blob/master/libp2p/7-properties.md#757-protocol-multicodecs
47
50
48
51
Example protocol options:
49
52
- /ipfs/id/1.0.0
0 commit comments