Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HelpDeprecatedSubSysMap (0.33 sec)

  1. internal/config/config.go

    func RegisterHelpSubSys(helpKVSMap map[string]HelpKVS) {
    	for subSys, hkvs := range helpKVSMap {
    		HelpSubSysMap[subSys] = hkvs
    	}
    }
    
    // HelpDeprecatedSubSysMap - help for all deprecated sub-systems, that may be
    // removed in the future.
    var HelpDeprecatedSubSysMap = map[string]HelpKV{}
    
    // RegisterHelpDeprecatedSubSys - saves input help KVS for deprecated
    // sub-systems globally. Should be called only once at init.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		return Help{}, config.Errorf("invalid number of arguments %s", subSys)
    	}
    
    	subSys = subSystemValue[0]
    
    	subSysHelp, ok := config.HelpSubSysMap[""].Lookup(subSys)
    	if !ok {
    		subSysHelp, ok = config.HelpDeprecatedSubSysMap[subSys]
    		if !ok {
    			return Help{}, config.Errorf("unknown sub-system %s", subSys)
    		}
    	}
    
    	h, ok := config.HelpSubSysMap[subSys]
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
Back to top