These options are exclusive. If more than one is given, its an error. Maybe instead write:

  ResetType mode = null;

  if (soft)
    mode = selectMode(mode, ResetType.SOFT);
  if (hard)
    mode = selectMode(mode, ResetType.HARD);
  ...

  private static ResetType selectMode(ResetType mode, ResetType want) {
    if (mode != null)
      throw die("....");
    return want;
  }