()
| 33 | } |
| 34 | |
| 35 | func (c *OperatorUsageCommand) Help() string { |
| 36 | helpText := ` |
| 37 | Usage: vault operator usage |
| 38 | |
| 39 | List the client counts for the default reporting period. |
| 40 | |
| 41 | $ vault operator usage |
| 42 | |
| 43 | List the client counts for a specific time period. |
| 44 | |
| 45 | $ vault operator usage -start-time=2020-10 -end-time=2020-11 |
| 46 | |
| 47 | ` + c.Flags().Help() |
| 48 | |
| 49 | return strings.TrimSpace(helpText) |
| 50 | } |
| 51 | |
| 52 | func (c *OperatorUsageCommand) Flags() *FlagSets { |
| 53 | set := c.flagSet(FlagSetHTTP | FlagSetOutputFormat) |