Skip to content

Commit

Permalink
Add more info on dry-run CLI option (#9582)
Browse files Browse the repository at this point in the history
fixes  apache/airflow#9561

(cherry picked from commit 4de5089fd2edfe6fe6fc6a96df8de504d673b60a)

GitOrigin-RevId: f2c9c90951c633da17f5330f56fa1e2b8f29e53e
  • Loading branch information
kaxil authored and Cloud Composer Team committed Jun 4, 2021
1 parent dd10cee commit 368e7da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion airflow/bin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='?'),
Expand Down

0 comments on commit 368e7da

Please sign in to comment.