Skip to content

Commit

Permalink
fix help message display for dags test subcommand (#8552)
Browse files Browse the repository at this point in the history
  • Loading branch information
QP Hou authored Apr 25, 2020
1 parent b6434de commit 5a47e80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions airflow/cli/cli_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
),
Expand Down

0 comments on commit 5a47e80

Please sign in to comment.