cqlsh: fix DESCRIBE KEYSPACES

Patch by Mike Adamson; reviewed by Tyler Hobbs for CASSANDRA-9693
This commit is contained in:
Mike Adamson 2015-07-01 17:12:11 -05:00 committed by Tyler Hobbs
parent 3491ab542c
commit c5f03a9883
1 changed files with 1 additions and 1 deletions

View File

@ -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