msg.append(e.getMessage());
msg.append("\n");
msg.append("java -jar properties-compiler.jar [options...] source files...\n");
// print the list of available options
StringWriter writer = new StringWriter();
parser.printUsage(writer, null);
msg.append(writer.getBuffer());
msg.append("\n");
// print option sample. This is useful some time
msg.append(" Example: java -jar properties-compiler.jar").append(parser.printExample(REQUIRED));
msg.append("\n");