trestore 'help' command for the python console - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 40281a3193e7d3b6da5b03ea1196fa29a2452258 DIR parent aafcb352bc2e6fad5158270056574ba151c23873 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 29 Feb 2016 09:57:56 +0100 restore 'help' command for the python console Diffstat: M lib/commands.py | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -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',