URI: 
       tadd 'sync' command - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit b39b3e348536504259892ede3a772cfa14b1b616
   DIR parent 06280a412e36c0372dabfeda46cf53e6e63a0c48
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri,  8 Apr 2016 16:14:39 +0200
       
       add 'sync' command
       
       Diffstat:
         M lib/commands.py                     |       6 ++++++
       
       1 file changed, 6 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -615,6 +615,11 @@ class Commands:
                self.network.send([('blockchain.address.subscribe', [address])], callback)
                return True
        
       +    @command('wn')
       +    def sync(self):
       +        """ wait until wallet is synchronized """
       +        return self.wallet.wait_until_synchronized()
       +
            @command('')
            def help(self):
                # for the python console
       t@@ -741,6 +746,7 @@ def get_parser():
            parser = argparse.ArgumentParser(
                parents=[parent_parser],
                epilog="Run 'electrum help <command>' to see the help for a command")
       +    parser.add_argument("-o", "--offline", action="store_true", dest="offline", default=False, help="Run offline")
            subparsers = parser.add_subparsers(dest='cmd', metavar='<command>')
            # gui
            parser_gui = subparsers.add_parser('gui', parents=[parent_parser], description="Run Electrum's Graphical User Interface.", help="Run GUI (default)")