Fully support -cp arguments

The CLI application advertises `-cp` support but it appears that only
`--cp` is really supported. The fix for gh-178 forgot to update the
call to `getParser().parse(...)`.

See gh-178
This commit is contained in:
Phillip Webb 2015-11-09 14:38:54 -08:00
parent f08f872729
commit 49a5587558

View File

@ -87,7 +87,7 @@ public class OptionHandler {
argsToUse[i] = "--cp";
}
}
OptionSet options = getParser().parse(args);
OptionSet options = getParser().parse(argsToUse);
return run(options);
}