public static int optionLength(String option){
  if (option.equals(OUTPUT_OPTION)) {
    return 2;
  }
  if (option.equals(CONTENT_OPTION)) {
    return 2;
  }
  if (option.equals(BUILD_OPTION)) {
    return 2;
  }
  if (option.equals(PORTAL_SRC_OPTION)) {
    return 2;
  }
  if (option.equals(ROOT_DIRECTORY)) {
    return 2;
  }
  return 1;
}

public static int optionLength ( String option ) { if ( option . equals ( OUTPUT_OPTION ) ) { return 2 ; } if ( option . equals ( CONTENT_OPTION ) ) { return 2 ; } if ( option . equals ( BUILD_OPTION ) ) { return 2 ; } if ( option . equals ( PORTAL_SRC_OPTION ) ) { return 2 ; } if ( option . equals ( ROOT_DIRECTORY ) ) { return 2 ; } return 1 ; }
required by doclet to check command line options
