1
1
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:
fraoustin 2018-01-03 21:25:03 +01:00
parent 01954469b0
commit f655208654
3 changed files with 4 additions and 4 deletions

View File

@ -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, **_):

View File

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

View File

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