mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix CLI help formatting issue with '-cp'
Ensure that '--cp' is replaced with a same length string to prevent odd help text formatting.
This commit is contained in:
parent
4fc9dfc2d5
commit
cad9fbfdf0
@ -112,7 +112,7 @@ public class OptionHandler {
|
||||
catch (IOException ex) {
|
||||
return "Help not available";
|
||||
}
|
||||
this.help = out.toString().replace(" --cp ", " -cp ");
|
||||
this.help = out.toString().replace(" --cp ", " -cp ");
|
||||
}
|
||||
return this.help;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user