mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00: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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user