MCPcopy
hub / github.com/google/gvisor / Register

Method Register

runsc/cli/help.go:122–124  ·  view source on GitHub ↗

Register registers a new help command.

(cmd subcommands.Command)

Source from the content-addressed store, hash-verified

120
121// Register registers a new help command.
122func (h *Help) Register(cmd subcommands.Command) {
123 h.commands = append(h.commands, cmd)
124}
125
126// helpCommandWrapper implements subcommands.Command by wrapping another
127// subcommands.Command and adding -h and -help flags.

Callers 1

RunFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected