a802e7fb71
If the compiler is invoked through JPS, an instance of XmlMessageRenderer is used and the output should be a valid XML. Previously, we reported the argument parse error (and the note to try "-help") before calling messageRenderer.renderPreamble, which resulted in invalid XML. The same was happening for the usage printed on "-help". Both of these problems are fixed #KT-14848 Fixed