From 190f2d2ee563febef45d9c4731aef2967de5a14f Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Wed, 3 Apr 2024 09:25:32 -0700 Subject: [PATCH 1/2] Honor the prompt read from the config file. --- mycli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycli/main.py b/mycli/main.py index 7033294e..ce4dff7e 100755 --- a/mycli/main.py +++ b/mycli/main.py @@ -1155,7 +1155,7 @@ def get_last_query(self): help='list of DSN configured into the [alias_dsn] section of myclirc file.') @click.option('--list-ssh-config', 'list_ssh_config', is_flag=True, help='list ssh configurations in the ssh config (requires paramiko).') -@click.option('-R', '--prompt', 'prompt', default=MyCli.default_prompt, +@click.option('-R', '--prompt', 'prompt', help='Prompt format (Default: "{0}").'.format( MyCli.default_prompt)) @click.option('-l', '--logfile', type=click.File(mode='a', encoding='utf-8'), From 3c1e70822e86d73612e345417daf09728cacb766 Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Wed, 3 Apr 2024 09:28:23 -0700 Subject: [PATCH 2/2] Update changelog. --- changelog.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index e0393bce..fb32e5af 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,28 @@ +Upcoming Release (TBD) +====================== + +Bug Fixes: +---------- + + +Internal: +--------- + +Features: +--------- + + +1.27.2 (2024/04/03) +=================== + +Bug Fixes: +---------- + +* Don't use default prompt when one is not supplied to the --prompt option. + + 1.27.1 (2024/03/28) -======== +=================== Bug Fixes: