Set<File> scanFiles = new HashSet<File>();
for (String path : scanPath.trim().split(File.pathSeparator)) {
scanFiles.add(new File(path));
}
checkArgument(!scanFiles.isEmpty(), "scanpath must contain at least one element");
scanner = new ProjectInfoScanner(scanFiles);
if (cmd.hasOption('v')) {
format = OutputFormat.LONG;
} else if (cmd.hasOption('s')) {
format = OutputFormat.SHORT;