1
0

command line: Require 'text' argument for 'restore'. Replace 'concealed' option with ':' magic word

This commit is contained in:
ThomasV
2015-10-28 09:33:35 +01:00
parent 65f20895df
commit 94ac0db91f
2 changed files with 9 additions and 8 deletions

View File

@@ -103,10 +103,11 @@ class Commands:
"""Create a new wallet"""
@command('')
def restore(self, concealed=False):
"""Restore a wallet. A wallet can be restored from a seed phrase, a
master public key, a master private key, a list of bitcoin addresses
or bitcoin private keys."""
def restore(self, text):
"""Restore a wallet from text. Text can be a seed phrase, a master
public key, a master private key, a list of bitcoin addresses
or bitcoin private keys. If you want to be prompted for your
seed, type '?' or ':' (concealed) """
@command('w')
def deseed(self):
@@ -615,7 +616,6 @@ param_descriptions = {
command_options = {
'password': ("-W", "--password", "Password"),
'concealed': ("-C", "--concealed", "Don't echo seed to console when restoring"),
'receiving': (None, "--receiving", "Show only receiving addresses"),
'change': (None, "--change", "Show only change addresses"),
'frozen': (None, "--frozen", "Show only frozen addresses"),