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

Function helpHelp

src/cmd/help.go:57–76  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string)

Source from the content-addressed store, hash-verified

55}
56
57func helpHelp(cmd *cobra.Command, args []string) {
58 if utils.IsInsideContainer() {
59 if !utils.IsInsideToolboxContainer() {
60 fmt.Fprintf(os.Stderr, "Error: this is not a Toolbx container\n")
61 return
62 }
63
64 if _, err := utils.ForwardToHost(); err != nil {
65 fmt.Fprintf(os.Stderr, "Error: %s\n", err)
66 return
67 }
68
69 return
70 }
71
72 if err := helpShowManual(args); err != nil {
73 fmt.Fprintf(os.Stderr, "Error: %s\n", err)
74 return
75 }
76}
77
78func helpShowManual(args []string) error {
79 var manual string

Callers

nothing calls this directly

Calls 1

helpShowManualFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…