From: pooler Date: Mon, 30 Jun 2014 12:59:57 +0000 (+0200) Subject: Fix usage summary X-Git-Url: https://git.novaco.in/?p=electrum-nvc.git;a=commitdiff_plain;h=4ffd117640a3cb1632f367e8cc8dc490cacc8cc2 Fix usage summary --- diff --git a/electrum b/electrum index e63803d..8b004b3 100755 --- a/electrum +++ b/electrum @@ -64,7 +64,7 @@ def prompt_password(prompt, confirm=True): def arg_parser(): usage = "%prog [options] command" - parser = optparse.OptionParser(prog=usage, add_help_option=False) + parser = optparse.OptionParser(usage=usage, add_help_option=False) parser.add_option("-h", "--help", action="callback", callback=print_help_cb, help="show this help text") parser.add_option("-g", "--gui", dest="gui", help="User interface: qt, lite, gtk, text or stdio") parser.add_option("-w", "--wallet", dest="wallet_path", help="wallet path (default: electrum.dat)")