diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-06-16 23:39:01 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-06-16 23:39:01 -0700 |
commit | b8ce97e149be470b2965014a42c7120bb4af0f4e (patch) | |
tree | f4353559a10508ec8adcc7bbd4e4288f4f31ff60 | |
parent | b016b9f486fc2bf28a1b1aa5d626510fbf65c92f (diff) |
Add \refresh to manually refresh auto-completions.
-rwxr-xr-x | pgcli/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pgcli/main.py b/pgcli/main.py index 5abe8015..e8c6e618 100755 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -87,6 +87,8 @@ class PGCli(object): aliases=('use', '\\connect', 'USE')) special.register_special_command(self.refresh_completions, '\\#', '\\#', 'Refresh auto-completions.', arg_type=NO_QUERY) + special.register_special_command(self.refresh_completions, '\\refresh', + '\\refresh', 'Refresh auto-completions.', arg_type=NO_QUERY) def change_db(self, pattern, **_): if pattern is None: |