From d3c7781803eec057cd62da5aa9575f743b9292b4 Mon Sep 17 00:00:00 2001 From: Maran Date: Mon, 18 Jun 2012 22:19:47 +0200 Subject: [PATCH] Added some more information for certain help commands also rewrote some of them to be more like the others --- electrum | 57 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/electrum b/electrum index 14f93fc1..7886de49 100755 --- a/electrum +++ b/electrum @@ -39,50 +39,49 @@ from optparse import OptionParser from decimal import Decimal known_commands = { - 'help':'print help', - 'validateaddress':'check that the address is valid', - 'balance': "Display the balance of your wallet or of an address.\nsyntax: balance [
]", + 'help':'Prints this help', + 'validateaddress':'Check that the address is valid', + 'balance': "Display the balance of your wallet or of an address.\nSyntax: balance [
]", 'contacts': "Show your list of contacts", - 'create':'create wallet', - 'restore':'restore wallet', - 'payto':""" - payto [label] - create and broadcast a transaction. - can be a bitcoin address or a label - options:\n--fee, -f: set transaction fee\n--fromaddr, -s: send from address -\n--changeaddr, -c: send change to address + 'create':'Create a wallet', + 'restore':'Restore a wallet', + 'payto':"""Create and broadcast a transaction. +Syntax: payto [label] + can be a bitcoin address or a label +options:\n --fee, -f: set transaction fee\n --fromaddr, -s: send from address -\n --changeaddr, -c: send change to address """, 'sendtx': - """sendtx - broadcast a transaction to the network. must be in hexadecimal""", + 'Broadcasts a transaction to the network. \nSyntax: sendtx \n must be in hexadecimal.', 'password': - "change your password", + "Changes your password", 'addresses': - """show your list of addresses. - options: - -a: show all addresses, including change addresses - -k: show private keys - -b: show the balance of addresses""", - 'history':"show the transaction history", - 'label':"assign a label to an item", + """Shows your list of addresses. +options: + -a: show all addresses, including change addresses + -k: show private keys + -b: show the balance of addresses""", + + 'history':"Shows the transaction history", + 'label':'Assign a label to an item\nSyntax: label