From c019cf18dd1be3b20baf7503326a53002c236b45 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Tue, 26 Sep 2023 04:20:41 +0800 Subject: [PATCH] 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 1e3432180edee..11d83debb0d6d 100644 --- a/airflow/cli/cli_config.py +++ b/airflow/cli/cli_config.py @@ -156,9 +156,7 @@ def string_lower_type(val): 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=(