zhongjiajie commented on a change in pull request #7148: [AIRFLOW-6472] Correct
short and long option in cli
URL: https://github.com/apache/airflow/pull/7148#discussion_r385760633
##########
File path: airflow/models/taskinstance.py
##########
@@ -347,18 +347,18 @@ def generate_command(dag_id,
"""
iso = execution_date.isoformat()
cmd = ["airflow", "tasks", "run", str(dag_id), str(task_id), str(iso)]
- cmd.extend(["--mark_success"]) if mark_success else None
+ cmd.extend(["--mark-success"]) if mark_success else None
Review comment:
Good catch!
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services