Skip to content

Commit

Permalink
fix(cli): remove "to backfill" from --task-regex help message (apache…
Browse files Browse the repository at this point in the history
…#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"
  • Loading branch information
Lee-W authored Sep 25, 2023
1 parent a4ecdc9 commit c019cf1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions airflow/cli/cli_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down

0 comments on commit c019cf1

Please sign in to comment.