restore 'help' command for the python console
This commit is contained in:
parent
aafcb352bc
commit
40281a3193
|
@ -614,6 +614,11 @@ class Commands:
|
||||||
self.network.send([('blockchain.address.subscribe', [address])], callback)
|
self.network.send([('blockchain.address.subscribe', [address])], callback)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@command('')
|
||||||
|
def help(self):
|
||||||
|
# for the python console
|
||||||
|
return sorted(known_commands.keys())
|
||||||
|
|
||||||
param_descriptions = {
|
param_descriptions = {
|
||||||
'privkey': 'Private key. Type \'?\' to get a prompt.',
|
'privkey': 'Private key. Type \'?\' to get a prompt.',
|
||||||
'destination': 'Bitcoin address, contact or alias',
|
'destination': 'Bitcoin address, contact or alias',
|
||||||
|
|
Loading…
Reference in New Issue