zhongjiajie commented on a change in pull request #7148: [AIRFLOW-6472][WIP] 
Correct short option in cli
URL: https://github.com/apache/airflow/pull/7148#discussion_r365652719
 
 

 ##########
 File path: airflow/bin/cli.py
 ##########
 @@ -102,7 +102,7 @@ class CLIFactory:
             ("-e", "--end_date"), "Override end_date YYYY-MM-DD",
             type=parsedate),
         'dry_run': Arg(
-            ("-dr", "--dry_run"), "Perform a dry run", "store_true"),
+            ("-d", "--dry_run"), "Perform a dry run", "store_true"),
 
 Review comment:
   Further more should we use kebab case instead of snake case for the long 
option? For example, use `--dry-run` instead of `--dry_run`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to