diff options
Diffstat (limited to 'pw_cli/py/pw_cli/arguments.py')
-rw-r--r-- | pw_cli/py/pw_cli/arguments.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pw_cli/py/pw_cli/arguments.py b/pw_cli/py/pw_cli/arguments.py index 7a0f1b2b0..f9e2358cf 100644 --- a/pw_cli/py/pw_cli/arguments.py +++ b/pw_cli/py/pw_cli/arguments.py @@ -39,9 +39,9 @@ def print_banner() -> None: print(banner(), file=sys.stderr) -def format_help() -> str: +def format_help(registry: plugins.Registry) -> str: """Returns the pw help information as a string.""" - return f'{_parser().format_help()}\n{plugins.command_help()}' + return f'{_parser().format_help()}\n{registry.short_help()}' class _ArgumentParserWithBanner(argparse.ArgumentParser): |