cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4634) cqlsh --color option doesn't allow you to disable colors
Date Sun, 09 Sep 2012 00:15:07 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451443#comment-13451443
] 

paul cannon commented on CASSANDRA-4634:
----------------------------------------

Since I'm not a particular fan of ls/grep's command-line color control (too much typing for
cases which are fairly common) and since this isn't backwards compatible (using {{\--color}}
alone will give an error), I'm inclined to vote -1 on it. Can we just add a {{\--no-color}}
option to force color off for the people who don't want to do {{TERM=dumb}} or {{cqlsh | cat}}
or something?
                
> 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
>
>
> 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

Mime
View raw message