commit 40281a3193e7d3b6da5b03ea1196fa29a2452258
parent aafcb352bc2e6fad5158270056574ba151c23873
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 29 Feb 2016 09:57:56 +0100
restore 'help' command for the python console
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -614,6 +614,11 @@ class Commands:
self.network.send([('blockchain.address.subscribe', [address])], callback)
return True
+ @command('')
+ def help(self):
+ # for the python console
+ return sorted(known_commands.keys())
+
param_descriptions = {
'privkey': 'Private key. Type \'?\' to get a prompt.',
'destination': 'Bitcoin address, contact or alias',