diff options
author | fraoustin <fraoustin@gmail.com> | 2018-01-03 22:05:45 +0100 |
---|---|---|
committer | fraoustin <fraoustin@gmail.com> | 2018-01-03 22:05:45 +0100 |
commit | 837dc74272fd34341f6dbc49ca998c662c5dedc3 (patch) | |
tree | 74e77abed051e9b93ea7400cf8c66cd0d7d915c2 | |
parent | 56ec33a29726ea265794322bdb2edd3653804227 (diff) |
change msg if ValueError
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | changelog.rst | 8 | ||||
-rw-r--r-- | pgcli/main.py | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -72,6 +72,7 @@ Contributors: * Marcin Sztolcman * Bojan Delić * Chris Vaughn + * Frederic Aoustin Creator: diff --git a/changelog.rst b/changelog.rst index 8f894c0f..f2a66e90 100644 --- a/changelog.rst +++ b/changelog.rst @@ -1,3 +1,11 @@ +1.8.3 +===== + +Features: +--------- + +* Add support for `\T` command to change format output. (Thanks: `Frederic Aoustin`_). + 1.8.2 ===== diff --git a/pgcli/main.py b/pgcli/main.py index 735a704d..ec740736 100644 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -227,7 +227,7 @@ class PGCli(object): pattern) for table_type in TabularOutputFormatter().supported_formats: msg += "\n\t{}".format(table_type) - msg += '\ncurrently table format: %s' % self.table_format + msg += '\nCurrently set to: %s' % self.table_format yield (None, None, None, msg) |