Christian Koop created MNG-7032:
-----------------------------------

             Summary: Option -B still showing formatting when used with 
--version
                 Key: MNG-7032
                 URL: https://issues.apache.org/jira/browse/MNG-7032
             Project: Maven
          Issue Type: Bug
          Components: Command Line, Logging
    Affects Versions: 3.6.3
         Environment: Running Ubuntu 20.04.1 LTS (Focal Fossa)

Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.8, vendor: AdoptOpenJDK, runtime: /opt/java/jdk-11.0.8+10
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-54-generic", arch: "amd64", family: "unix"
            Reporter: Christian Koop


When running {{mvn -B --version}} the first line ('Apache Maven 3.6.3') is 
written in bold although the option {{-B}} should have stripped that as it does 
with color in combination with other options.

This causes an issue when logging to a file as the ASCII escape sequence is 
written to it in plain text (causing confusion).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to