cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject git commit: add deprecation warning to cli
Date Wed, 13 Nov 2013 20:33:14 GMT
Updated Branches:
  refs/heads/cassandra-2.0 e02341b38 -> 1d3a4dd44


add deprecation warning to cli


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1d3a4dd4
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1d3a4dd4
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1d3a4dd4

Branch: refs/heads/cassandra-2.0
Commit: 1d3a4dd44facefa68696ead7fb89077811676c85
Parents: e02341b
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Wed Nov 13 14:33:02 2013 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed Nov 13 14:33:02 2013 -0600

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cli/CliClient.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1d3a4dd4/src/java/org/apache/cassandra/cli/CliClient.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cli/CliClient.java b/src/java/org/apache/cassandra/cli/CliClient.java
index c3d2600..8e72065 100644
--- a/src/java/org/apache/cassandra/cli/CliClient.java
+++ b/src/java/org/apache/cassandra/cli/CliClient.java
@@ -195,8 +195,8 @@ public class CliClient
     {
         sessionState.out.println("Welcome to Cassandra CLI version " + FBUtilities.getReleaseVersionString()
+ "\n");
 
-        sessionState.out.println("Please consider using the more convenient cqlsh instead
of CLI");
-        sessionState.out.println("CQL3 is fully backwards compatible with Thrift data; see
http://www.datastax.com/dev/blog/thrift-to-cql3\n");
+        sessionState.out.println("The CLI is deprecated and will be removed in Cassandra
3.0.  Consider migrating to cqlsh.");
+        sessionState.out.println("CQL is fully backwards compatible with Thrift data; see
http://www.datastax.com/dev/blog/thrift-to-cql3\n");
 
         sessionState.out.println(getHelp().banner);
     }


Mime
View raw message