IsValidGlobalOption checks if a key is a supported global option
(key string)
| 329 | |
| 330 | // IsValidGlobalOption checks if a key is a supported global option |
| 331 | func IsValidGlobalOption(key string) bool { |
| 332 | _, ok := GlobalConfigOptions[key] |
| 333 | return ok |
| 334 | } |
| 335 | |
| 336 | // GetGlobalOptionNames returns all supported global option names sorted alphabetically |
| 337 | func GetGlobalOptionNames() []string { |