cqlsh: alphabetize help Patch by Aleksey Yeschenko, reviewed by brandonwilliams for CASSANDRA-4034
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/4c452887 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/4c452887 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/4c452887 Branch: refs/heads/trunk Commit: 4c452887906858c3dbb69d000c5a930752d945a5 Parents: ee4a26d Author: Brandon Williams <[email protected]> Authored: Wed Sep 26 09:59:55 2012 -0500 Committer: Brandon Williams <[email protected]> Committed: Wed Sep 26 09:59:55 2012 -0500 ---------------------------------------------------------------------- bin/cqlsh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/4c452887/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index 4e93db7..f984618 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -1884,7 +1884,7 @@ class Shell(cmd.Cmd): return names def columnize(self, slist, *a, **kw): - return cmd.Cmd.columnize(self, [u.upper() for u in slist], *a, **kw) + return cmd.Cmd.columnize(self, sorted([u.upper() for u in slist]), *a, **kw) def do_help(self, parsed): """
