Browse Source

verbose option

283
ThomasV 12 years ago
parent
commit
b20188a65d
  1. 4
      electrum

4
electrum

@ -138,10 +138,10 @@ if __name__ == '__main__':
parser.add_option("-c", "--changeaddr", dest="change_addr", default=None, help="set the change address for payto/mktx. default is a spare address, or the source address if it's not in the wallet")
parser.add_option("-s", "--server", dest="server", default=None, help="set server host:port:protocol, where protocol is t or h")
parser.add_option("-p", "--proxy", dest="proxy", default=None, help="set proxy [type:]host[:port], where type is socks4,socks5 or http")
#parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, help="show debugging information")
parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, help="show debugging information")
options, args = parser.parse_args()
#set_verbosity(options.verbose)
set_verbosity(options.verbose)
# config is an object passed to the various constructors (wallet, interface, gui)
config = SimpleConfig(options)

Loading…
Cancel
Save