mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
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:
+1
-1
@@ -87,7 +87,7 @@ public class OptionHandler {
|
||||
argsToUse[i] = "--cp";
|
||||
}
|
||||
}
|
||||
OptionSet options = getParser().parse(args);
|
||||
OptionSet options = getParser().parse(argsToUse);
|
||||
return run(options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user