This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new 90bf479d3ff [v2-10-test] Update cli_config.py (#45110) (#45115)
90bf479d3ff is described below
commit 90bf479d3ffbef64defc71ab460cc61c9e991f5e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 20 21:42:03 2024 +0100
[v2-10-test] Update cli_config.py (#45110) (#45115)
(cherry picked from commit b7e81f56aa5dd029fbb1a3ef6962bdca56b7c9d0)
Co-authored-by: Wang Ran (汪然) <[email protected]>
---
airflow/cli/cli_config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/cli/cli_config.py b/airflow/cli/cli_config.py
index 799b8ed9272..b192860f0a8 100644
--- a/airflow/cli/cli_config.py
+++ b/airflow/cli/cli_config.py
@@ -64,7 +64,7 @@ class DefaultHelpParser(argparse.ArgumentParser):
super()._check_value(action, value)
def error(self, message):
- """Override error and use print_instead of print_usage."""
+ """Override error and use print_help instead of print_usage."""
self.print_help()
self.exit(2, f"\n{self.prog} command error: {message}, see help
above.\n")