public void printHelp ( ) { final HelpFormatter formatter = new HelpFormatter ( ) ; final Options options = new Options ( ) ; addStandardOptions ( options ) ; if ( line != null && line . hasOption ( ARGUMENT . ADVANCED_HELP ) ) { addAdvancedOptions ( options ) ; } final String helpMsg = String . format ( "%n%s" + " can be used to identify if there are any known CVE vulnerabilities in libraries utilized by an application. " + "%s will automatically update required data from the Internet, such as the CVE and CPE data files from nvd.nist.gov.%n%n" , settings . getString ( "application.name" , "DependencyCheck" ) , settings . getString ( "application.name" , "DependencyCheck" ) ) ; formatter . printHelp ( settings . getString ( "application.name" , "DependencyCheck" ) , helpMsg , options , "" , true ) ; }
Displays the command line help message to the standard output .