shahar1 commented on code in PR #38265:
URL: https://github.com/apache/airflow/pull/38265#discussion_r1530808880


##########
airflow/cli/cli_config.py:
##########
@@ -1098,15 +1098,25 @@ class GroupCommand(NamedTuple):
     ),
     ActionCommand(
         name="pause",
-        help="Pause a DAG",
+        help="Pause DAG(s)",
+        description=(
+            "Pause one or more DAGs. This command allows to halt the execution 
of specified DAGs, "
+            "disabling further task scheduling. Use `--treat-dag-as-regex` to 
target multiple DAGs by "

Review Comment:
   I agree, I think that it also makes sense to deprecate it in the backfill 
command - I replaced the argument with `--treat-dag-id-as-regex` in the 
un/pause commands and added a TODO comment for the deprecation to the 
`--tyreat-dag-as-regex`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to