[cli] Do not print help for repair alias

This commit is contained in:
derrod 2020-05-22 14:39:01 +02:00
parent 61c2db9b60
commit c7d3846118

View file

@ -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())