You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "paul cannon (JIRA)" <ji...@apache.org> on 2012/09/09 02:15:07 UTC
[jira] [Commented] (CASSANDRA-4634) cqlsh --color option doesn't
allow you to disable colors
[ 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