loulsb commented on code in PR #29116:
URL: https://github.com/apache/airflow/pull/29116#discussion_r1093819235


##########
airflow/cli/cli_parser.py:
##########
@@ -2201,46 +2202,56 @@ def _remove_dag_id_opt(command: ActionCommand):
 DAG_CLI_DICT: dict[str, CLICommand] = {sp.name: sp for sp in dag_cli_commands}
 
 
-class AirflowHelpFormatter(argparse.HelpFormatter):
+class AirflowHelpFormatter(RichHelpFormatter):
     """
     Custom help formatter to display help message.
 
     It displays simple commands and groups of commands in separate sections.
     """
 
-    def _format_action(self, action: Action):
+    def _rich_format_action(self, action: Action):

Review Comment:
   _iter_indented_subactions seems to work. I get the same result as 
_format_action before



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to