This is an automated email from the ASF dual-hosted git repository.
rom pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new b7e81f56aa5 Update cli_config.py (#45110)
b7e81f56aa5 is described below
commit b7e81f56aa5dd029fbb1a3ef6962bdca56b7c9d0
Author: Wang Ran (汪然) <[email protected]>
AuthorDate: Fri Dec 20 22:44:37 2024 +0800
Update cli_config.py (#45110)
---
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 66c5770db51..93f6aa7b510 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")