add prog name to sync arg parser
This commit is contained in:
parent
c6372ea9de
commit
5235a150b1
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ from lbry.wallet.server.server import Server
|
|||
|
||||
def get_argument_parser():
|
||||
parser = argparse.ArgumentParser(
|
||||
prog="hub"
|
||||
prog="lbry-hub"
|
||||
)
|
||||
parser.add_argument("spvserver", type=str, help="Python class path to SPV server implementation.",
|
||||
nargs="?", default="lbry.wallet.server.coin.LBC")
|
||||
|
|
|
@ -82,7 +82,7 @@ def __run(args, shard):
|
|||
def run_elastic_sync():
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logging.info('lbry.server starting')
|
||||
parser = argparse.ArgumentParser()
|
||||
parser = argparse.ArgumentParser(prog="lbry-hub-elastic-sync")
|
||||
parser.add_argument("db_path", type=str)
|
||||
parser.add_argument("-c", "--clients", type=int, default=16)
|
||||
parser.add_argument("-b", "--blocks", type=int, default=0)
|
||||
|
|
Loading…
Reference in a new issue