From c5f03a988396bb5969a0bb3dd835218c0658e681 Mon Sep 17 00:00:00 2001 From: Mike Adamson Date: Wed, 1 Jul 2015 17:12:11 -0500 Subject: [PATCH] cqlsh: fix DESCRIBE KEYSPACES Patch by Mike Adamson; reviewed by Tyler Hobbs for CASSANDRA-9693 --- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cqlsh b/bin/cqlsh index 9f872f8d52..bf0f8fd438 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -1423,7 +1423,7 @@ class Shell(cmd.Cmd): what = parsed.matched[1][1].lower() if what == 'keyspaces': self.describe_keyspaces() - if what == 'keyspace': + elif what == 'keyspace': ksname = self.cql_unprotect_name(parsed.get_binding('ksname', '')) if not ksname: ksname = self.current_keyspace