GetGlobalOptionNames returns all supported global option names sorted alphabetically
()
| 335 | |
| 336 | // GetGlobalOptionNames returns all supported global option names sorted alphabetically |
| 337 | func GetGlobalOptionNames() []string { |
| 338 | names := make([]string, 0, len(GlobalConfigOptions)) |
| 339 | for name := range GlobalConfigOptions { |
| 340 | names = append(names, name) |
| 341 | } |
| 342 | sort.Strings(names) |
| 343 | return names |
| 344 | } |
| 345 | |
| 346 | // GetGlobalOptionHelp retrieves help information for a global option |
| 347 | func GetGlobalOptionHelp(key string) (description, detailedHelp string, validValues []string) { |
no outgoing calls
no test coverage detected