Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HelpDeprecatedSubSysMap (0.18 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top