public void setOptVerbose ( boolean optVerbose ) { checkCanSetNoArgOption ( "--verbose" ) ; if ( ( false == optVerbose ) && ( optAbbrev || optNoAbbrev ) ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000120" ) + " --no-abbrev or --abbrev can only be used with --verbose." ) ; } this . optVerbose = optVerbose ; }
Checks whether the verbose option should be set and sets it .