restore 'help' command for the python console

This commit is contained in:
ThomasV 2016-02-29 09:57:56 +01:00
parent aafcb352bc
commit 40281a3193
1 changed files with 5 additions and 0 deletions

View File

@ -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',