code: func (o *Options) processHostnameOverrideFlag() error {
  	// Check if hostname-override flag is set and use value since configFile always overrides
  	if len(o.hostnameOverride) > 0 {
  		hostName := strings.TrimSpace(o.hostnameOverride)
  		if len(hostName) == 0 {
  			return fmt.Errorf("empty hostname-override is invalid")
  		}
  		o.config.HostnameOverride = strings.ToLower(hostName)
  	}
  
  	return nil
  }
docs: // processHostnameOverrideFlag processes hostname-override flag