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:
Phillip Webb 2014-01-15 11:13:31 -08:00
parent 4fc9dfc2d5
commit cad9fbfdf0

View File

@ -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;
}