} else {
for (String phaseName : phaseNames) {
phaseName = phaseName.trim();
if (phaseName.length() > 0) {
phaseName = phaseName.toUpperCase().replace("-", "_");
Phase phase;
try {
phase = Phase.valueOf(phaseName);
} catch (IllegalArgumentException iax) {
throw new CmdLineException(parser, "illegal phase name in --dot flag: " + phaseName);
}