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) {
|
catch (IOException ex) {
|
||||||
return "Help not available";
|
return "Help not available";
|
||||||
}
|
}
|
||||||
this.help = out.toString().replace(" --cp ", " -cp ");
|
this.help = out.toString().replace(" --cp ", " -cp ");
|
||||||
}
|
}
|
||||||
return this.help;
|
return this.help;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue