code: func validateAnnotations(removeAnnotations []string, newAnnotations map[string]string) error {
  	var modifyRemoveBuf bytes.Buffer
  	for _, removeAnnotation := range removeAnnotations {
  		if _, found := newAnnotations[removeAnnotation]; found {
  			if modifyRemoveBuf.Len() > 0 {
  				modifyRemoveBuf.WriteString(", ")
  			}
  			modifyRemoveBuf.WriteString(fmt.Sprintf(removeAnnotation))
  		}
  	}
  	if modifyRemoveBuf.Len() > 0 {
  		return fmt.Errorf("can not both modify and remove the following annotation(s) in the same command: %s", modifyRemoveBuf.String())
  	}
  
  	return nil
  }
docs: // validateAnnotations checks the format of annotation args and checks removed annotations aren't in the new annotations map