diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-03-09 23:49:27 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-03-09 23:49:27 -0700 |
commit | cc41a4ea6caa07b104f8a6e6aebe743ffd8098d9 (patch) | |
tree | c8d38f2f0f9822608383418eb5f7bd6e7a6722fb | |
parent | 7bb9e51b104af9d8a3b9fd2530637a68cd21cec5 (diff) |
Add <null> as a placeholder for missingvalue.
-rwxr-xr-x | pgcli/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcli/main.py b/pgcli/main.py index eadc5d09..ff4091eb 100755 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -350,7 +350,7 @@ def format_output(cur, headers, status, table_format): if is_expanded_output(): output.append(expanded_table(cur, headers)) else: - output.append(tabulate(cur, headers, tablefmt=table_format)) + output.append(tabulate(cur, headers, tablefmt=table_format, missingval='<null>')) if status: # Only print the status if it's not None. output.append(status) return output |