Options options = new Options ();
options.addOption (new HelpOption ());
PropertyFileOption propOption = new PropertyFileOption ();
options.addOption (propOption);
options.addOption (new PersistenceOption ());
options.addOption (new ContactOption ());
try {
// parse the command line arguments
CommandLine line = parser.parse (options, args);