@click.option('--threads',type=int,default=1,help='Number of threads to use.')
@click.option('--code',multiple=True,type=str,help='Index only calculcations of given codes.')
@click.option('--dry',is_flag=True,help='Do not index, just compute entries.')
@click.option('--in-place',is_flag=True,default=False,help='Perform indexing in the current elastic search index. Meant only for small reindex operations.')
@click.option('-n',type=int,default=None,help='Number of calculations to process. Leave undefined to process all calculations.')