activeHelpEnvVar returns the name of the program-specific ActiveHelp environment variable. It has the format <PROGRAM>_ACTIVE_HELP where <PROGRAM> is the name of the root command in upper case, with all non-ASCII-alphanumeric characters replaced by `_`.
(name string)
| 56 | // variable. It has the format <PROGRAM>_ACTIVE_HELP where <PROGRAM> is the name of the |
| 57 | // root command in upper case, with all non-ASCII-alphanumeric characters replaced by `_`. |
| 58 | func activeHelpEnvVar(name string) string { |
| 59 | return configEnvVar(name, activeHelpEnvVarSuffix) |
| 60 | } |