Commit 49a55875 authored by Phillip Webb's avatar Phillip Webb

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
parent f08f8727
...@@ -87,7 +87,7 @@ public class OptionHandler { ...@@ -87,7 +87,7 @@ public class OptionHandler {
argsToUse[i] = "--cp"; argsToUse[i] = "--cp";
} }
} }
OptionSet options = getParser().parse(args); OptionSet options = getParser().parse(argsToUse);
return run(options); return run(options);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment