electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 04d78a3bf4d9ca8984ed8ff3a90b7d205953b91b
parent ef55d98d3fb8e72d86f33a108dbd48a6aaf8b59f
Author: thomasv <thomasv@gitorious>
Date:   Mon, 14 May 2012 17:35:38 +0200

better messages

Diffstat:
Melectrum | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/electrum b/electrum @@ -43,7 +43,7 @@ protected_commands = ['payto', 'password', 'mktx', 'seed', 'import','signmessage if __name__ == '__main__': - usage = "usage: %prog [options] command args\nCommands: "+ (', '.join(known_commands)) + usage = "usage: %prog [options] command\nCommands: "+ (', '.join(known_commands)) parser = OptionParser(usage=usage) parser.add_option("-g", "--gui", dest="gui", default="qt", help="gui") parser.add_option("-w", "--wallet", dest="wallet_path", help="wallet path (default: electrum.dat)") @@ -223,9 +223,9 @@ if __name__ == '__main__': if cmd=='help': cmd2 = firstarg if cmd2 not in known_commands: - print "known commands:", ', '.join(known_commands) - print "'electrum help <command>' shows the help on a specific command" - print "'electrum --help' shows the list of options" + print "type 'electrum help <command>' to see the help for a specific command" + print "type 'electrum --help' to see the list of options" + print "list of commands:", ', '.join(known_commands) elif cmd2 == 'balance': print "Display the balance of your wallet or of an address." print "syntax: balance [<address>]" @@ -274,7 +274,7 @@ if __name__ == '__main__': elif cmd == 'deseed': if not wallet.seed: - print "Eooro: This wallet has no seed" + print "Error: This wallet has no seed" elif wallet.use_encryption: print "Error: This wallet is encrypted" else: