Browse Source

fix help message for wtool

master
Adam Gibson 9 years ago
parent
commit
3acf717351
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 31
      jmclient/jmclient/wallet_utils.py

31
jmclient/jmclient/wallet_utils.py

@ -16,24 +16,19 @@ import jmclient.btc as btc
def get_wallettool_parser(): def get_wallettool_parser():
description = ( description = (
'Does useful little tasks involving your bip32 wallet. The ' 'Use this script to monitor and manage your Joinmarket wallet. The '
'method is one of the following: (display) Shows addresses and ' 'method is one of the following: \n(display) Shows addresses and '
'balances. (displayall) Shows ALL addresses and balances. ' 'balances. \n(displayall) Shows ALL addresses and balances. '
'(summary) Shows a summary of mixing depth balances. (generate) ' '\n(summary) Shows a summary of mixing depth balances.\n(generate) '
'Generates a new wallet. (recover) Recovers a wallet from the 12 ' 'Generates a new wallet.\n(recover) Recovers a wallet from the 12 '
'word recovery seed. (showutxos) Shows all utxos in the wallet, ' 'word recovery seed.\n(showutxos) Shows all utxos in the wallet.'
'including the corresponding private keys if -p is chosen; the ' '\n(showseed) Shows the wallet recovery seed '
'data is also written to a file "walletname.json.utxos" if the ' 'and hex seed.\n(importprivkey) Adds privkeys to this wallet, '
'option -u is chosen (so be careful about private keys). ' 'privkeys are spaces or commas separated.\n(dumpprivkey) Export '
'(showseed) Shows the wallet recovery seed ' 'a single private key, specify an hd wallet path\n'
'and hex seed. (importprivkey) Adds privkeys to this wallet, ' '(signmessage) Sign a message with the private key from an address '
'privkeys are spaces or commas separated. (dumpprivkey) Export ' 'in the wallet. Use with -H and specify an HD wallet '
'a single private key, specify an hd wallet path (listwallets) ' 'path for the address.')
'Lists all wallets with creator and timestamp. (history) Show '
'all historical transaction details. Requires Bitcoin Core.\n'
'signmessage\t\tSign a message with the private key from an address\n'
'\t\t\tin the wallet. Use with -H and specify an HD wallet\n'
'\t\t\tpath for the address.')
parser = OptionParser(usage='usage: %prog [options] [wallet file] [method]', parser = OptionParser(usage='usage: %prog [options] [wallet file] [method]',
description=description) description=description)
parser.add_option('-p', parser.add_option('-p',

Loading…
Cancel
Save