(cmd *cobra.Command, args []string)
| 55 | } |
| 56 | |
| 57 | func 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 | |
| 78 | func helpShowManual(args []string) error { |
| 79 | var manual string |
nothing calls this directly
no test coverage detected
searching dependent graphs…