options.addOption("credFile", true, "Import option with -preserveOwnership, this is a properties file mapping with user=pass");
options.addOption("stripSignatures", false, "Im/Export option, removes digital signatures from all signed items, default is false");
// create the parser
CommandLineParser parser = new BasicParser();
CommandLine line = null;
try {
// parse the command line arguments
line = parser.parse(options, args);
if (line.hasOption("import") && line.hasOption("export")) {
ShowHelp(options);
return;
}