software/test/performance/src/org/LexGrid/LexBIG/util/Util.java
/**
	 * Outputs a standard message to console indicating supported
	 * command line options.
	 * @param syntax Named syntax.
	 * @param options Provided options.
	 * @param example Example usage, if applicable.
	 * @param parseErr Error that occurred parsing the
	 * command line, if applicable.
	 */
Outputs a standard message to console indicating supported
command line options.
@param syntax Named syntax.
@param options Provided options.
@param example Example usage, if applicable.
@param parseErr Error that occurred parsing the
command line, if applicable.
Outputs a standard message to console indicating supported command line options . @param syntax Named syntax . @param options Provided options . @param example Example usage if applicable . @param parseErr Error that occurred parsing the command line if applicable .
public static  void displayCommandOptions(String syntax, Options options, String example, Throwable parseErr) {
		displayMessage("");
		if (parseErr != null) {
			displayMessage("Unable to parse command options>> " + parseErr.getMessage());
			displayMessage("");
		}
		try {
			new HelpFormatter().printHelp(_printWriter, 80, syntax, "", options, 0, 0, "", true);
		} finally {
			_printWriter.flush();
		}
		if (example != null) {
			displayMessage("");
			displayMessage("Example: " + example);
		}
	}
public static void displayCommandOptions ( String syntax , Options options , String example , Throwable parseErr ) { displayMessage ( "" ) ; if ( parseErr != null ) { displayMessage ( "Unable to parse command options>> " + parseErr . getMessage ( ) ) ; displayMessage ( "" ) ; } try { new HelpFormatter ( ) . printHelp ( _printWriter , 80 , syntax , "" , options , 0 , 0 , "" , true ) ; } finally { _printWriter . flush ( ) ; } if ( example != null ) { displayMessage ( "" ) ; displayMessage ( "Example: " + example ) ; } }
Outputs a standard message to console indicating supported
 command line options.
Outputs a standard message to console indicating supported command line options .