code: public void setOptMerged(boolean optMerged) {
      checkCanSetNoArgOption("--merged");
      if (optNoMerged && optMerged) {
        throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
            + "  --merged cannot be used with --no-merged.");
      } 
      this.optMerged = optMerged;
    }
docs: Checks whether the --merged option should be set and sets it.
  
  @param optMerged True if the --merged option should be used, false otherwise.