mirror of
https://github.com/dbcli/pgcli.git
synced 2024-09-17 16:57:39 +03:00
change command t by T
This commit is contained in:
parent
01954469b0
commit
f655208654
@ -212,7 +212,7 @@ class PGCli(object):
|
||||
'Send all query results to file.')
|
||||
self.pgspecial.register(self.info_connection, '\\conninfo',
|
||||
'\\conninfo', 'Get connection details')
|
||||
self.pgspecial.register(self.change_table_format, '\\t', '\\t [format]',
|
||||
self.pgspecial.register(self.change_table_format, '\\T', '\\T [format]',
|
||||
'Change the table format used to output results')
|
||||
|
||||
def change_table_format(self, pattern, **_):
|
||||
|
@ -3,6 +3,7 @@
|
||||
|--------------------------+------------------------------------------------|
|
||||
| \# | Refresh auto-completions. |
|
||||
| \? | Show Help. |
|
||||
| \T [format] | Change the table format used to output results |
|
||||
| \c[onnect] database_name | Change to a new database. |
|
||||
| \d [pattern] | List or describe tables, views and sequences. |
|
||||
| \dT[S+] [pattern] | List data types |
|
||||
@ -19,7 +20,6 @@
|
||||
| \nd [name [query]] | Delete a named query. |
|
||||
| \ns name query | Save a named query. |
|
||||
| \refresh | Refresh auto-completions. |
|
||||
| \t [format] | Change the table format used to output results |
|
||||
| \timing | Toggle timing of commands. |
|
||||
| \x | Toggle expanded output. |
|
||||
+--------------------------+------------------------------------------------+
|
||||
|
@ -4,6 +4,8 @@ Description
|
||||
Refresh auto-completions.
|
||||
\?
|
||||
Show Commands.
|
||||
\T [format]
|
||||
Change the table format used to output results
|
||||
\c[onnect] database_name
|
||||
Change to a new database.
|
||||
\copy [tablename] to/from [filename]
|
||||
@ -56,8 +58,6 @@ A limited version of traditional \pset
|
||||
Refresh auto-completions.
|
||||
\sf[+] FUNCNAME
|
||||
Show a function's definition.
|
||||
\t [format]
|
||||
Change the table format used to output results
|
||||
\timing
|
||||
Toggle timing of commands.
|
||||
\x
|
||||
|
Loading…
Reference in New Issue
Block a user