URI: 
       tfix cmd descriptions - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit c3f82fd69cc261bf758938d1079bf996ef7b20b1
   DIR parent f8eb68458d63a7a49a4f254e4878050bc085f2a3
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sun, 31 May 2015 23:23:13 +0200
       
       fix cmd descriptions
       
       Diffstat:
         M lib/commands.py                     |      13 ++++++++-----
       
       1 file changed, 8 insertions(+), 5 deletions(-)
       ---
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -254,8 +254,9 @@ class Commands:
                return out
        
            def sweep(self, privkey, destination, tx_fee=None, nocheck=False):
       -        """Sweep private key
       -        Returns a transaction that spends UTXOs from privkey to a destination address. The transaction is not broadcasted."""
       +        """Sweep private key. Returns a transaction that spends UTXOs from
       +        privkey to a destination address. The transaction is not
       +        broadcasted."""
                resolver = lambda x: self.contacts.resolve(x, nocheck)['address']
                dest = resolver(destination)
                if tx_fee is None:
       t@@ -264,7 +265,8 @@ class Commands:
                return Transaction.sweep([privkey], self.network, dest, fee)
        
            def signmessage(self, address, message):
       -        """Sign a message with a key. Use quotes if your message contains whitespaces"""
       +        """Sign a message with a key. Use quotes if your message contains
       +        whitespaces"""
                return self.wallet.sign_message(address, message, self.password)
        
            def verifymessage(self, address, signature, message):
       t@@ -359,7 +361,8 @@ class Commands:
                return out
        
            def setlabel(self, key, label):
       -        """Assign a label to an item. Item may be a bitcoin address or a transaction ID"""
       +        """Assign a label to an item. Item may be a bitcoin address or a
       +        transaction ID"""
                self.wallet.set_label(key, label)
        
            def listcontacts(self):
       t@@ -616,7 +619,7 @@ def get_parser(run_gui, run_daemon, run_cmdline):
            # commands
            for cmdname in sorted(known_commands.keys()):
                cmd = known_commands[cmdname]
       -        p = subparsers.add_parser(cmdname, parents=[parent_parser], help=cmd.help, description=cmd.help + '. ' + cmd.description)
       +        p = subparsers.add_parser(cmdname, parents=[parent_parser], help=cmd.help, description=cmd.description)
                p.set_defaults(func=run_cmdline)
                if cmd.requires_password:
                    p.add_argument("-W", "--password", dest="password", default=None, help="password")