print_msg("Type 'electrum help <command>' to see the help for a specific command")
print_msg("Type 'electrum --help' to see the list of options")
run_command('help')
- exit(1)
+ sys.exit(1)
def print_help_cb(self, opt, value, parser):
password = prompt_password('Password:', False)
if not password:
print_msg("Error: Password required")
- exit(1)
+ sys.exit(1)
# check password
try:
seed = wallet.get_seed(password)
except Exception:
print_msg("Error: This password does not decode this wallet.")
- exit(1)
+ sys.exit(1)
else:
password = None
seed = wallet.get_seed(None)
for i in range(1, len(args), 2):
if len(args) < i+2:
print_msg("Error: Mismatched arguments.")
- exit(1)
+ sys.exit(1)
outputs.append((args[i], Decimal(args[i+1])))
args = ['mksendmanytx', outputs, Decimal(options.tx_fee) if options.tx_fee else None, options.change_addr, domain]