From 5a47e806573806af6cb0ec650e99f73145314ece Mon Sep 17 00:00:00 2001 From: QP Hou Date: Sat, 25 Apr 2020 04:46:05 -0700 Subject: [PATCH] fix help message display for dags test subcommand (#8552) --- airflow/cli/cli_parser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airflow/cli/cli_parser.py b/airflow/cli/cli_parser.py index 95095e13ec2330..c795f6db85b545 100644 --- a/airflow/cli/cli_parser.py +++ b/airflow/cli/cli_parser.py @@ -257,10 +257,10 @@ def add_to_parser(self, parser: argparse.ArgumentParser): ARG_IMGCAT_DAGRUN = Arg( ("--imgcat-dagrun", ), help=( - "After completing the backfill, prints a diagram on the screen for the " + "After completing the dag run, prints a diagram on the screen for the " "current DAG Run using the imgcat tool.\n" "\n" - "For more information, see: https://www.iterm2.com/documentation-images.html", + "For more information, see: https://www.iterm2.com/documentation-images.html" ), action='store_true') ARG_SAVE_DAGRUN = Arg( @@ -844,9 +844,9 @@ class GroupCommand(NamedTuple): ), ), ActionCommand( - func=lazy_load_command('airflow.cli.commands.dag_command.dag_test'), name='test', help="Execute one run of a DAG", + func=lazy_load_command('airflow.cli.commands.dag_command.dag_test'), args=( ARG_DAG_ID, ARG_EXECUTION_DATE, ARG_SUBDIR, ARG_SHOW_DAGRUN, ARG_IMGCAT_DAGRUN, ARG_SAVE_DAGRUN ),