Repository: cassandra Updated Branches: refs/heads/trunk 6d29ed066 -> 2bdf41c61
cqlsh: fix DESCRIBE KEYSPACES Patch by Mike Adamson; reviewed by Tyler Hobbs for CASSANDRA-9693 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c5f03a98 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c5f03a98 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c5f03a98 Branch: refs/heads/trunk Commit: c5f03a988396bb5969a0bb3dd835218c0658e681 Parents: 3491ab5 Author: Mike Adamson <[email protected]> Authored: Wed Jul 1 17:12:11 2015 -0500 Committer: Tyler Hobbs <[email protected]> Committed: Wed Jul 1 17:12:11 2015 -0500 ---------------------------------------------------------------------- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/c5f03a98/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index 9f872f8..bf0f8fd 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
