if (targetDirs.size() != 1)
throw new IllegalArgumentException("One and only one --target must be specified");
Path targetA2 = Paths.get(targetDirs.get(0));
if (targetDirs.size() != 1)
throw new IllegalArgumentException("One and only one --target must be specified");
Path targetA2 = Paths.get(targetDirs.get(0));