commit 109ad7318764e9da313003bee06680486567d1fc
parent ccbae28533281ec8cd6315ab35ec23d1ba009295
Author: ThomasV <thomasv1@gmx.de>
Date: Mon, 30 Jun 2014 17:50:07 +0200
Merge pull request #743 from pooler/usagefix
Fix usage summary
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)")