From 5593d776be686ffbee8742d2b5dfdb64a307147e Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Wed, 1 Jun 2016 15:32:41 +0100 Subject: [PATCH] stats: Aligned text to 78 ruler, fixed grammar error License: MIT Signed-off-by: Richard Littauer --- core/commands/stat.go | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/core/commands/stat.go b/core/commands/stat.go index 93f01bddd..051344773 100644 --- a/core/commands/stat.go +++ b/core/commands/stat.go @@ -32,18 +32,21 @@ var StatsCmd = &cmds.Command{ var statBwCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Print ipfs bandwidth information.", - Synopsis: "ipfs stats bw [--peer | -p] [--proto | -t] [--poll] [--interval | -i]", + Synopsis: `ipfs stats bw [--peer | -p] [--proto | -t] [--poll] +[--interval | -i] + `, ShortDescription: `'ipfs stats bw' prints bandwidth information for the ipfs daemon. It displays: TotalIn, TotalOut, RateIn, RateOut. `, LongDescription: `'ipfs stats bw' prints bandwidth information for the ipfs daemon. It displays: TotalIn, TotalOut, RateIn, RateOut. -By default, overall bandwidth and all protocols are shown. To limit bandwidth to -a particular peer, use the 'peer' option along with that peer's multihash id. To -specify a specific protocol, use the 'proto' option. The 'peer' and 'proto' -options cannot be specified simultaneously. The protocols that be queried using -this method are outlined in the specification: https://github.com/ipfs/specs/blob/master/libp2p/7-properties.md#757-protocol-multicodecs +By default, overall bandwidth and all protocols are shown. To limit bandwidth +to a particular peer, use the 'peer' option along with that peer's multihash +id. To specify a specific protocol, use the 'proto' option. The 'peer' and +'proto' options cannot be specified simultaneously. The protocols that are +queried using this method are outlined in the specification: +https://github.com/ipfs/specs/blob/master/libp2p/7-properties.md#757-protocol-multicodecs Example protocol options: - /ipfs/id/1.0.0