public static int optionLength ( final String option ) { if ( option . equals ( CALLER_SCRIPT_NAME ) || option . equals ( CALLER_SCRIPT_PREFIX_LEGAL_ARGS ) || option . equals ( CALLER_SCRIPT_PREFIX_ARG_VALUE_TYPES ) || option . equals ( CALLER_SCRIPT_PREFIX_MUTEX_ARGS ) || option . equals ( CALLER_SCRIPT_PREFIX_ALIAS_ARGS ) || option . equals ( CALLER_SCRIPT_PREFIX_ARG_MIN_OCCURRENCES ) || option . equals ( CALLER_SCRIPT_PREFIX_ARG_MAX_OCCURRENCES ) || option . equals ( CALLER_SCRIPT_POSTFIX_LEGAL_ARGS ) || option . equals ( CALLER_SCRIPT_POSTFIX_ARG_VALUE_TYPES ) || option . equals ( CALLER_SCRIPT_POSTFIX_MUTEX_ARGS ) || option . equals ( CALLER_SCRIPT_POSTFIX_ALIAS_ARGS ) || option . equals ( CALLER_SCRIPT_POSTFIX_ARG_MIN_OCCURRENCES ) || option . equals ( CALLER_SCRIPT_POSTFIX_ARG_MAX_OCCURRENCES ) ) { return 2 ; } else { return HelpDoclet . optionLength ( option ) ; } }
Must add options that are applicable to this doclet so that they will be accepted .