mik-laj commented on a change in pull request #9070: URL: https://github.com/apache/airflow/pull/9070#discussion_r432888705
########## File path: airflow/cli/cli_parser.py ########## @@ -1326,8 +1347,11 @@ def _add_command( subparsers: argparse._SubParsersAction, # pylint: disable=protected-access sub: CLICommand ) -> None: + description = sub.description + if not description: + description = sub.help sub_proc = subparsers.add_parser( - sub.name, help=sub.help + sub.name, help=sub.help, description=description, Review comment: ```suggestion sub.name, help=sub.help, description=sub.description or sub.help, ``` It's much shorter. ---------------------------------------------------------------- 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