in taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/CommandLineOptionsImpl.java [110:128]
public void displayHelp(boolean showFullText) {
HelpFormatter formatter = new HelpFormatter();
try {
formatter
.printHelp("executeworkflow [options] [workflow]", options);
if (showFullText) {
InputStream helpStream = CommandLineOptionsImpl.class
.getClassLoader().getResourceAsStream("help.txt");
String helpText = IOUtils.toString(helpStream);
System.out.println(helpText);
}
} catch (IOException e) {
logger.error("Failed to load the help document", e);
System.out.println("Failed to load the help document");
//System.exit(-1);
}
}