mirror of https://github.com/dbcli/pgcli
Make \? output sorted.
This commit is contained in:
parent
3f5d0c0143
commit
b046dea74d
3
TODO
3
TODO
|
@ -4,7 +4,8 @@
|
|||
* [ ] ON keyword should suggest aliases. This is something we don't currently support since a collection of aliases is not maintained.
|
||||
* [ ] Add a page to keep track of changelog in pgcli.com
|
||||
* [ ] Refactor to sqlcompletion to consume the text from left to right and use a state machine to suggest cols or tables instead of relying on hacks.
|
||||
* [ ] Add a few more special commands. (\l pattern, \di, \dp, \ds, \dv, \dy, \z etc)
|
||||
* [ ] Add a few more special commands. (\l pattern, \dp, \ds, \dy, \z etc)
|
||||
* [ ] Refactor pgspecial.py to a class.
|
||||
* [ ] Write a doc about how to add new pgspecial commands.(psql -E)
|
||||
* [ ] Show/hide docs for a statement using a keybinding.
|
||||
* [ ] Check how to add the name of the table before printing the table.
|
||||
|
|
|
@ -678,7 +678,7 @@ def sql_name_pattern(pattern):
|
|||
def show_help(cur, arg, verbose): # All the parameters are ignored.
|
||||
headers = ['Command', 'Description']
|
||||
result = []
|
||||
for command, value in CASE_SENSITIVE_COMMANDS.iteritems():
|
||||
for command, value in sorted(CASE_SENSITIVE_COMMANDS.iteritems()):
|
||||
if value[1]:
|
||||
result.append(value[1])
|
||||
return [(result, headers, None)]
|
||||
|
|
Loading…
Reference in New Issue