potiuk commented on code in PR #23308:
URL: https://github.com/apache/airflow/pull/23308#discussion_r860275019
##########
dev/breeze/src/airflow_breeze/commands/configuration_and_maintenance.py:
##########
@@ -234,7 +234,8 @@ def setup_autocomplete(verbose: bool, dry_run: bool, force:
bool, answer: Option
"""
Enables autocompletion of breeze commands.
"""
- set_forced_answer(answer)
+ if force:
Review Comment:
This is not consistent with all other commands. All other commmands use just
``--answer`` to provide a forced answer (see BREEZE.rst). Force has a different
meaning actually. Force is specific to "auto-complete" and it means that it
should override the complete in .rc file even if it is there. So those two
flags are unrelated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]