You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/10/05 10:46:08 UTC
[airflow] 21/44: fix(cli): remove "to backfill" from --task-regex help message (#34598)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit a0b4ef16d21d4cb6fc238027a1b114851731f9cf
Author: Wei Lee <we...@gmail.com>
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"
(cherry picked from commit c019cf18dd1be3b20baf7503326a53002c236b45)
---
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 6a7056d78e..6c133d8a71 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=(