code: private ExportFormat determineType() {
          ExportFormat exportFormat = null;
          if (hasOption("t")) {
              final String value = getOptionValue("t");
              exportFormat = ExportFormat.getFormatByLabel(value);
              if (exportFormat == null) {
                  reportable.error(format(
                          "The KAM file format '%s' is not valid.%n", value));
                  printHelp(true);
              }
          }
          return exportFormat;
      }
docs: Converts the -t/--type argument to an ExportFormat.
  @return