MCPcopy Create free account
hub / github.com/Mister-leo/fssh / GetGlobalOptionNames

Function GetGlobalOptionNames

internal/sshconfig/hostconfig.go:337–344  ·  view source on GitHub ↗

GetGlobalOptionNames returns all supported global option names sorted alphabetically

()

Source from the content-addressed store, hash-verified

335
336// GetGlobalOptionNames returns all supported global option names sorted alphabetically
337func 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
347func GetGlobalOptionHelp(key string) (description, detailedHelp string, validValues []string) {

Callers 3

cmdGlobalSetFunction · 0.92
cmdGlobalUnsetFunction · 0.92
setupLinerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected