diff --git a/changelog.md b/changelog.md index 0126f5bd..9fc4f094 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,16 @@ +Upcoming (TBD) +============== + +Features +--------- +* Add extra error output on connection failure for possible SSL mismatch (#1584). + + +Bug Fixes +--------- +* Let interactive changes to the prompt format respect dynamically-computed values. + + 1.56.0 (2026/02/23) ============== @@ -6,7 +19,6 @@ Features * Let the `--dsn` argument accept literal DSNs as well as aliases. * Accept `--character-set` as an alias for `--charset` at the CLI. * Add SSL/TLS version to `status` output. -* Add extra error output on connection failure for possible SSL mismatch (#1584) * Accept `socket` as a DSN query parameter. * Accept new-style `ssl_mode` in DSN URI query parameters, to match CLI argument. * Fully deprecate the built-in SSH functionality. diff --git a/mycli/main.py b/mycli/main.py index 689c6c1d..a93aa6ba 100755 --- a/mycli/main.py +++ b/mycli/main.py @@ -435,7 +435,7 @@ def change_prompt_format(self, arg: str, **_) -> list[SQLResult]: message = "Missing required argument, format." return [SQLResult(status=message)] - self.prompt_format = self.get_prompt(arg) + self.prompt_format = arg return [SQLResult(status=f"Changed prompt format to {arg}")] def initialize_logging(self) -> None: