@cryptotaxi247 / kubo / commits / 5593d776b

stats: Aligned text to 78 ruler, fixed grammar error

License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>

Richard Littauer committed Jun 1, 2016 at 15:32 UTC 5593d776be686ffbee8742d2b5dfdb64a307147e
1 file changed +9 -6
core/commands/stat.go
+9 -6
@@ -32,18 +32,21 @@ var StatsCmd = &cmds.Command{
32 var statBwCmd = &cmds.Command{
33 Helptext: cmds.HelpText{
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 + `,
38 ShortDescription: `'ipfs stats bw' prints bandwidth information for the ipfs daemon.
39 It displays: TotalIn, TotalOut, RateIn, RateOut.
40 `,
41 LongDescription: `'ipfs stats bw' prints bandwidth information for the ipfs daemon.
42 It displays: TotalIn, TotalOut, RateIn, RateOut.
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
50
51 Example protocol options:
52 - /ipfs/id/1.0.0