This is an automated email from the ASF dual-hosted git repository.
husseinawala 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 c019cf18dd fix(cli): remove "to backfill" from --task-regex help
message (#34598)
c019cf18dd is described below
commit c019cf18dd1be3b20baf7503326a53002c236b45
Author: Wei Lee <[email protected]>
AuthorDate: Tue Sep 26 04:20:41 2023 +0800
fix(cli): remove "to backfill" from --task-regex help message (#34598)
this arg is used by both "airflow tasks clear" and "airflow tasks backfill"
and it does not make sense for "airflow tasks clear" to have the
description "to backfile"
---
airflow/cli/cli_config.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/airflow/cli/cli_config.py b/airflow/cli/cli_config.py
index 1e3432180e..11d83debb0 100644
--- a/airflow/cli/cli_config.py
+++ b/airflow/cli/cli_config.py
@@ -156,9 +156,7 @@ ARG_EXECUTION_DATE_OR_RUN_ID_OPTIONAL = Arg(
nargs="?",
help="The execution_date of the DAG or run_id of the DAGRun (optional)",
)
-ARG_TASK_REGEX = Arg(
- ("-t", "--task-regex"), help="The regex to filter specific task_ids to
backfill (optional)"
-)
+ARG_TASK_REGEX = Arg(("-t", "--task-regex"), help="The regex to filter
specific task_ids (optional)")
ARG_SUBDIR = Arg(
("-S", "--subdir"),
help=(