MCPcopy Create free account
hub / github.com/hashicorp/vault / Help

Method Help

command/operator_usage.go:35–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func (c *OperatorUsageCommand) Help() string {
36 helpText := `
37Usage: 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
52func (c *OperatorUsageCommand) Flags() *FlagSets {
53 set := c.flagSet(FlagSetHTTP | FlagSetOutputFormat)

Callers

nothing calls this directly

Calls 2

FlagsMethod · 0.95
HelpMethod · 0.65

Tested by

no test coverage detected