diff --git a/cli/net.go b/cli/net.go index 18f21f767..104b4b40e 100644 --- a/cli/net.go +++ b/cli/net.go @@ -611,18 +611,8 @@ var NetBlockListCmd = &cli.Command{ var NetStatCmd = &cli.Command{ Name: "stat", - Usage: "Report resource usage for a scope", + Usage: "report resource stat for a scope", ArgsUsage: "scope", - Description: `Report resource usage for a scope. - - The scope can be one of the following: - - system -- reports the system aggregate resource usage. - - transient -- reports the transient resource usage. - - svc: -- reports the resource usage of a specific service. - - proto: -- reports the resource usage of a specific protocol. - - peer: -- reports the resource usage of a specific peer. - - all -- reports the resource usage for all currently active scopes. -`, Action: func(cctx *cli.Context) error { api, closer, err := GetAPI(cctx) if err != nil { @@ -651,19 +641,8 @@ var NetStatCmd = &cli.Command{ var NetLimitCmd = &cli.Command{ Name: "limit", - Usage: "Get or set resource limits for a scope", + Usage: "get or set resource limit for a scope", ArgsUsage: "scope [limit]", - Description: `Get or set resource limits for a scope. - - The scope can be one of the following: - - system -- reports the system aggregate resource usage. - - transient -- reports the transient resource usage. - - svc: -- reports the resource usage of a specific service. - - proto: -- reports the resource usage of a specific protocol. - - peer: -- reports the resource usage of a specific peer. - - The limit is json-formatted, with the same structure as the limits file. -`, Flags: []cli.Flag{ &cli.BoolFlag{ Name: "set",