diff options
Diffstat (limited to 'examples/scripts/save_help_text.py')
-rw-r--r-- | examples/scripts/save_help_text.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/scripts/save_help_text.py b/examples/scripts/save_help_text.py index ad028395..b8ba9624 100644 --- a/examples/scripts/save_help_text.py +++ b/examples/scripts/save_help_text.py @@ -22,7 +22,6 @@ def get_sub_commands(parser: argparse.ArgumentParser) -> List[str]: # Check if this is parser has subcommands if parser is not None and parser._subparsers is not None: - # Find the _SubParsersAction for the subcommands of this parser for action in parser._subparsers._actions: if isinstance(action, argparse._SubParsersAction): |