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
pull/4844/head
Phillip Webb 9 years ago
parent f08f872729
commit 49a5587558

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

Loading…
Cancel
Save