MCPcopy
hub / github.com/containers/toolbox / helpShowManual

Function helpShowManual

src/cmd/help.go:78–94  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

76}
77
78func helpShowManual(args []string) error {
79 var manual string
80
81 if len(args) == 0 {
82 manual = "toolbox"
83 } else if args[0] == executableBase {
84 manual = "toolbox"
85 } else {
86 manual = "toolbox-" + args[0]
87 }
88
89 if err := showManual(manual); err != nil {
90 return err
91 }
92
93 return nil
94}

Callers 2

helpFunction · 0.85
helpHelpFunction · 0.85

Calls 1

showManualFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…