[ 
https://issues.apache.org/jira/browse/CASSANDRA-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tyler Hobbs updated CASSANDRA-4634:
-----------------------------------

    Attachment: 4634-color-option-v2.txt

v2 patch adds a {{\-\-no-color}} option instead.  The behavior now is that with 
{{\-\-color}}, color will always be enabled, with {{\-\-no-color}}, it will 
always be disabled, and without either one, the behavior is similar to 
{{auto}}, where color is only enabled if not reading a file and stdout is 
connected to a terminal.
                
> cqlsh --color option doesn't allow you to disable colors
> --------------------------------------------------------
>
>                 Key: CASSANDRA-4634
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4634
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Drivers
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>            Priority: Trivial
>         Attachments: 4634-color-option.txt, 4634-color-option-v2.txt
>
>
> There's no way to disable colors with cqlsh, despite it having a {{--color}} 
> option, because that option can only enable color if present, not disable it, 
> and the default is that color is enabled.
> (Incidentally, if the {{--file}} option is used, it will disable color.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to