code: func (p *ProjectOptions) Validate() error {
  	errList := []error{}
  	if p.CheckSelector {
  		if len(p.Selector) > 0 {
  			if _, err := labels.Parse(p.Selector); err != nil {
  				errList = append(errList, errors.New("--selector=<project_selector> must be a valid label selector"))
  			}
  		}
  		if len(p.ProjectNames) != 0 {
  			errList = append(errList, errors.New("either specify --selector=<project_selector> or projects but not both"))
  		}
  	} else if len(p.ProjectNames) == 0 {
  		errList = append(errList, errors.New("must provide --selector=<project_selector> or projects"))
  	}
  
  	// TODO: Validate if the openshift master is running with mutitenant network plugin
  	return kerrors.NewAggregate(errList)
  }
docs: // Common validations