From 94cec1b86d3a08f9a2ad19b7fb9cdf1cbbd03b45 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 23 Jan 2019 14:56:54 -0500 Subject: [PATCH] fix --- lbrynet/extras/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lbrynet/extras/cli.py b/lbrynet/extras/cli.py index 32c9f77e2..df57384a1 100644 --- a/lbrynet/extras/cli.py +++ b/lbrynet/extras/cli.py @@ -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