You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/06/30 10:21:57 UTC

[airflow] 01/06: Add more info on dry-run CLI option (#9582)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit c7989464b56a66edff85318ee7bf2eb6b8c913ee
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Tue Jun 30 09:04:25 2020 +0100

    Add more info on dry-run CLI option (#9582)
    
    fixes  https://github.com/apache/airflow/issues/9561
    
    (cherry picked from commit 4de5089fd2edfe6fe6fc6a96df8de504d673b60a)
---
 airflow/bin/cli.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index b3ffea7..8b5522c 100644
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -2048,7 +2048,10 @@ class CLIFactory(object):
             ("-e", "--end_date"), "Override end_date YYYY-MM-DD",
             type=parsedate),
         'dry_run': Arg(
-            ("-dr", "--dry_run"), "Perform a dry run", "store_true"),
+            ("-dr", "--dry_run"),
+            "Perform a dry run for each task. Only renders Template Fields "
+            "for each task, nothing else",
+            "store_true"),
         'pid': Arg(
             ("--pid",), "PID file location",
             nargs='?'),