1292
1293 OptionSpec<Path> dir
1294 = parser.accepts("dir", getMessage("main.opt.extractDir"))
1295 .withRequiredArg()
1296 .withValuesConvertedBy(new ExtractDirPathConverter());
1297
1298 OptionSpec<Void> dryrun
1299 = parser.accepts("dry-run", getMessage("main.opt.dry-run"));
1300
1301 OptionSpec<PathMatcher> excludes
1302 = parser.accepts("exclude", getMessage("main.opt.exclude"))
1303 .withRequiredArg()
1304 .withValuesConvertedBy(new PathMatcherConverter());
1305
1306 OptionSpec<Pattern> hashModules
1307 = parser.accepts("hash-modules", getMessage("main.opt.hash-modules"))
1308 .withRequiredArg()
1309 .withValuesConvertedBy(new PatternConverter());
1310
1311 OptionSpec<Void> help
1312 = parser.acceptsAll(Set.of("h", "help"), getMessage("main.opt.help"))
1313 .forHelp();
1314
1315 OptionSpec<Void> helpExtra
1316 = parser.accepts("help-extra", getMessage("main.opt.help-extra"));
1317
1318 OptionSpec<List<Path>> headerFiles
1319 = parser.accepts("header-files", getMessage("main.opt.header-files"))
1320 .withRequiredArg()
1321 .withValuesConvertedBy(DirPathConverter.INSTANCE);
1322
1323 OptionSpec<List<Path>> libs
1324 = parser.accepts("libs", getMessage("main.opt.libs"))
1325 .withRequiredArg()
1326 .withValuesConvertedBy(DirPathConverter.INSTANCE);
1327
1328 OptionSpec<List<Path>> legalNotices
1329 = parser.accepts("legal-notices", getMessage("main.opt.legal-notices"))
1330 .withRequiredArg()
1331 .withValuesConvertedBy(DirPathConverter.INSTANCE);
1332
|
1292
1293 OptionSpec<Path> dir
1294 = parser.accepts("dir", getMessage("main.opt.extractDir"))
1295 .withRequiredArg()
1296 .withValuesConvertedBy(new ExtractDirPathConverter());
1297
1298 OptionSpec<Void> dryrun
1299 = parser.accepts("dry-run", getMessage("main.opt.dry-run"));
1300
1301 OptionSpec<PathMatcher> excludes
1302 = parser.accepts("exclude", getMessage("main.opt.exclude"))
1303 .withRequiredArg()
1304 .withValuesConvertedBy(new PathMatcherConverter());
1305
1306 OptionSpec<Pattern> hashModules
1307 = parser.accepts("hash-modules", getMessage("main.opt.hash-modules"))
1308 .withRequiredArg()
1309 .withValuesConvertedBy(new PatternConverter());
1310
1311 OptionSpec<Void> help
1312 = parser.acceptsAll(Set.of("h", "help", "?"), getMessage("main.opt.help"))
1313 .forHelp();
1314
1315 OptionSpec<Void> helpExtra
1316 = parser.accepts("help-extra", getMessage("main.opt.help-extra"));
1317
1318 OptionSpec<List<Path>> headerFiles
1319 = parser.accepts("header-files", getMessage("main.opt.header-files"))
1320 .withRequiredArg()
1321 .withValuesConvertedBy(DirPathConverter.INSTANCE);
1322
1323 OptionSpec<List<Path>> libs
1324 = parser.accepts("libs", getMessage("main.opt.libs"))
1325 .withRequiredArg()
1326 .withValuesConvertedBy(DirPathConverter.INSTANCE);
1327
1328 OptionSpec<List<Path>> legalNotices
1329 = parser.accepts("legal-notices", getMessage("main.opt.legal-notices"))
1330 .withRequiredArg()
1331 .withValuesConvertedBy(DirPathConverter.INSTANCE);
1332
|