src/main/java/com/rockagen/commons/util/CmdUtil.java
public static void printHelp(String cmdLineSyntax, String header,
			Options options, String footer) {
		HelpFormatter hf=new HelpFormatter();
		
		if (CommUtil.isBlank(cmdLineSyntax)) {
			cmdLineSyntax = "Command [options]...";
		}
		header = header +SysUtil.LINE_SEPARATOR+"Options:";
		footer = SysUtil.LINE_SEPARATOR + footer;
		hf.printHelp(cmdLineSyntax, header, options, footer);
	}
public static void printHelp(String cmdLineSyntax, String header,
			Options options, String footer) {
		HelpFormatter hf=new HelpFormatter();
		
		if (CommUtil.isBlank(cmdLineSyntax)) {
			cmdLineSyntax = "Command [options]...";
		}
		header = header +SysUtil.LINE_SEPARATOR+"Options:";
		footer = SysUtil.LINE_SEPARATOR + footer;
		hf.printHelp(cmdLineSyntax, header, options, footer);
	}
Print the help for <code>options</code> with the specified command line
syntax. This method prints help information to System.out.

@param cmdLineSyntax
the syntax for this application
@param header
the banner to display at the begining of the help
@param options
the Options instance
@param footer
the banner to display at the end of the help