mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08: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:
parent
f08f872729
commit
49a5587558
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user