opts.py: allow no-arg init() with dfl opts_data; longhelp fixes,cleanups

This commit is contained in:
The MMGen Project 2020-05-15 10:13:39 +00:00
commit b01af014a3
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 57 additions and 29 deletions

View file

@ -10,7 +10,7 @@ import time
from decimal import Decimal
from mmgen.common import *
opts.init({ 'text': { 'desc':'', 'usage':'', 'options':'' }})
opts.init()
HalvingInterval = 210000 # src/chainparams.cpp