LsOperationOptions operationOptions = new LsOperationOptions();
OptionParser parser = new OptionParser();
parser.allowsUnrecognizedOptions();
OptionSpec<String> optionDateStr = parser.acceptsAll(asList("D", "date")).withRequiredArg();
OptionSpec<Void> optionRecursive = parser.acceptsAll(asList("r", "recursive"));
OptionSpec<String> optionFileTypes = parser.acceptsAll(asList("t", "types")).withRequiredArg();
OptionSpec<Void> optionLongChecksums = parser.acceptsAll(asList("f", "full-checksums"));
OptionSpec<Void> optionWithVersions = parser.acceptsAll(asList("V", "versions"));
OptionSpec<Void> optionGroupedVersions = parser.acceptsAll(asList("g", "group"));