Make treasure map a required CLI argument

pull/2730/head
Bogdan Opanchuk 2021-09-07 11:55:27 -07:00
parent 1428a3d4aa
commit 074d44a750
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ option_signer_uri = click.option('--signer', 'signer_uri', '-S', default=None, t
option_staking_address = click.option('--staking-address', help="Address of a NuCypher staker", type=EIP55_CHECKSUM_ADDRESS)
option_teacher_uri = click.option('--teacher', 'teacher_uri', help="An Ursula URI to start learning from (seednode)", type=click.STRING)
option_threshold = click.option('--threshold', '-m', help="M-Threshold KFrags", type=click.INT)
option_treasure_map = click.option('--treasure-map', 'treasure_map', help="Encrypted treasure map as base64 for retrieval", type=click.STRING)
option_treasure_map = click.option('--treasure-map', 'treasure_map', help="Encrypted treasure map as base64 for retrieval", type=click.STRING, required=True)
_option_middleware = click.option('-Z', '--mock-networking', help="Use in-memory transport instead of networking", count=True)
# Avoid circular input