mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 01:35:20 +00:00
commands: explicitly mention "?"/":" magic chars for "create" cmd
related: #5185
This commit is contained in:
parent
790c889483
commit
6aa81a8f56
1 changed files with 6 additions and 3 deletions
|
@ -138,7 +138,9 @@ class Commands:
|
||||||
|
|
||||||
@command('')
|
@command('')
|
||||||
def create(self, passphrase=None, password=None, encrypt_file=True, segwit=False):
|
def create(self, passphrase=None, password=None, encrypt_file=True, segwit=False):
|
||||||
"""Create a new wallet"""
|
"""Create a new wallet.
|
||||||
|
If you want to be prompted for an argument, type '?' or ':' (concealed)
|
||||||
|
"""
|
||||||
d = create_new_wallet(path=self.config.get_wallet_path(),
|
d = create_new_wallet(path=self.config.get_wallet_path(),
|
||||||
passphrase=passphrase,
|
passphrase=passphrase,
|
||||||
password=password,
|
password=password,
|
||||||
|
@ -154,8 +156,9 @@ class Commands:
|
||||||
def restore(self, text, passphrase=None, password=None, encrypt_file=True):
|
def restore(self, text, passphrase=None, password=None, encrypt_file=True):
|
||||||
"""Restore a wallet from text. Text can be a seed phrase, a master
|
"""Restore a wallet from text. Text can be a seed phrase, a master
|
||||||
public key, a master private key, a list of bitcoin addresses
|
public key, a master private key, a list of bitcoin addresses
|
||||||
or bitcoin private keys. If you want to be prompted for your
|
or bitcoin private keys.
|
||||||
seed, type '?' or ':' (concealed) """
|
If you want to be prompted for an argument, type '?' or ':' (concealed)
|
||||||
|
"""
|
||||||
d = restore_wallet_from_text(text,
|
d = restore_wallet_from_text(text,
|
||||||
path=self.config.get_wallet_path(),
|
path=self.config.get_wallet_path(),
|
||||||
passphrase=passphrase,
|
passphrase=passphrase,
|
||||||
|
|
Loading…
Add table
Reference in a new issue