Skip to content

Commit

Permalink
Merge pull request #1157 from dbcli/honor-prompt
Browse files Browse the repository at this point in the history
Honor the prompt read from the config file.
  • Loading branch information
amjith authored Apr 3, 2024
2 parents a8fdde8 + 3c1e708 commit 338168e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
25 changes: 24 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion mycli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 338168e

Please sign in to comment.