private static Messages messages = new Messages(Cipher.class);
public static void main(String[] args) throws SystemExitException {
CommandLineParser parser = new PosixParser();
// create the Options
Options options = new Options();
options.addOption(option("h", "help", "cmd.cipher.opt.help"));
options.addOption(option("c", "cipher", "c", "cmd.cipher.opt.impl"));
options.addOption(option("d", "decrypt", "cmd.cipher.opt.decrypt"));
options.addOption(option("e", "encrypt", "cmd.cipher.opt.encrypt"));
CommandLine line;
try {
// parse the command line arguments
line = parser.parse(options, args);
} catch (ParseException exp) {
help(options);
throw new SystemExitException(-1);
}