MCPcopy Create free account
hub / github.com/docker/cli / ShowHelp

Function ShowHelp

cli/command/cli.go:126–132  ·  view source on GitHub ↗

ShowHelp shows the command help.

(err io.Writer)

Source from the content-addressed store, hash-verified

124
125// ShowHelp shows the command help.
126func ShowHelp(err io.Writer) func(*cobra.Command, []string) error {
127 return func(cmd *cobra.Command, args []string) error {
128 cmd.SetOut(err)
129 cmd.HelpFunc()(cmd, args)
130 return nil
131 }
132}
133
134// ConfigFile returns the ConfigFile
135func (cli *DockerCli) ConfigFile() *configfile.ConfigFile {

Callers

nothing calls this directly

Calls 1

SetOutMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…