mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Do not print help for repair alias
This commit is contained in:
parent
61c2db9b60
commit
c7d3846118
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue