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

Function GetGlobalOptionHelp

internal/sshconfig/hostconfig.go:347–353  ·  view source on GitHub ↗

GetGlobalOptionHelp retrieves help information for a global option

(key string)

Source from the content-addressed store, hash-verified

345
346// GetGlobalOptionHelp retrieves help information for a global option
347func GetGlobalOptionHelp(key string) (description, detailedHelp string, validValues []string) {
348 opt, ok := GlobalConfigOptions[key]
349 if !ok {
350 return "", "", nil
351 }
352 return opt.Description, opt.DetailedHelp, opt.ValidValues
353}
354
355// NewGlobalConfig creates a new HostConfig for global configuration (Host *)
356func NewGlobalConfig() *HostConfig {

Callers 3

cmdGlobalEditFunction · 0.92
cmdGlobalSetFunction · 0.92
cmdGlobalUnsetFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected