[jboss-jira] [JBoss JIRA] (WFWIP-7) CLI argument --no-color-output has no precedence before XML configuration

Erich Duda (JIRA) issues at jboss.org
Wed May 2 05:26:00 EDT 2018


Erich Duda created WFWIP-7:
------------------------------

             Summary: CLI argument --no-color-output has no precedence before XML configuration
                 Key: WFWIP-7
                 URL: https://issues.jboss.org/browse/WFWIP-7
             Project: WildFly WIP
          Issue Type: Bug
            Reporter: Erich Duda
            Assignee: Ingo Weiss


When I uncommented {{color-output}} configuration in jboss-cli.xml where {{enabled}} option is set on {{true}}, the {{--no-color-output}} option had not effect. The colors were displayed.

{code:xml|title=jboss-cli.xml}
<color-output>
  <enabled>true</enabled>
  <error-color>red</error-color>
  <warn-color>yellow</warn-color>
  <success-color>default</success-color>
  <required-color>magenta</required-color>
  <workflow-color>default</workflow-color>
  <prompt-color>default</prompt-color>
</color-output>
{code}

{code:title=Bash command}
$ ./jboss-cli.sh --no-color-output
{code}

In this case the {{--no-color-output}} should have precedence and no colors should be displayed.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list