forked from LBRYCommunity/lbry-sdk
fix
This commit is contained in:
parent
d62ac0b608
commit
94cec1b86d
1 changed files with 3 additions and 3 deletions
|
@ -215,8 +215,10 @@ def main(argv=None):
|
|||
|
||||
if args.cli_version:
|
||||
print(f"{lbrynet_name} {lbrynet_version}")
|
||||
return 0
|
||||
elif args.command == 'start':
|
||||
if args.help:
|
||||
args.start_parser.print_help()
|
||||
return 0
|
||||
try:
|
||||
asyncio.run(start_daemon(conf, args))
|
||||
except (KeyboardInterrupt, asyncio.CancelledError):
|
||||
|
@ -237,10 +239,8 @@ def main(argv=None):
|
|||
asyncio.run(execute_command(conf, api_method_name, params))
|
||||
elif args.group is not None:
|
||||
args.group_parser.print_help()
|
||||
|
||||
else:
|
||||
parser.print_help()
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue