summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2024-04-03 09:32:01 -0700
committerGitHub <noreply@github.com>2024-04-03 09:32:01 -0700
commit338168e2402d23eea60ef5ee9283889be0f3e4b1 (patch)
tree3865cc10ceb7591eb3f09bbf8f3aa260771fc058
parenta8fdde84aa70726e612fb0476d97285fd5313ee9 (diff)
parent3c1e70822e86d73612e345417daf09728cacb766 (diff)
Merge pull request #1157 from dbcli/honor-prompt
Honor the prompt read from the config file.
-rw-r--r--changelog.md25
-rwxr-xr-xmycli/main.py2
2 files changed, 25 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md
index e0393bc..fb32e5a 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:
diff --git a/mycli/main.py b/mycli/main.py
index 7033294..ce4dff7 100755
--- a/mycli/main.py
+++ b/mycli/main.py
@@ -1155,7 +1155,7 @@ class MyCli(object):
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'),