From c7d3846118e002fcca7c5cbdb741400c2e1b930d Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 22 May 2020 14:39:01 +0200 Subject: [PATCH] [cli] Do not print help for repair alias --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 72a8e74..eb5062c 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -905,7 +905,7 @@ def main(): print('Individual command help:') subparsers = next(a for a in parser._actions if isinstance(a, argparse._SubParsersAction)) for choice, subparser in subparsers.choices.items(): - if choice in ('download', 'update'): + if choice in ('download', 'update', 'repair'): continue print(f'\nCommand: {choice}') print(subparser.format_help())