From 0e61408dfadbacc32edda620cd65143fc87fec68 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 30 May 2016 08:58:10 +0200 Subject: [PATCH] add option to configure electrum_path --- lib/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands.py b/lib/commands.py index 1ea5226d..15fd10fd 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -755,6 +755,7 @@ def get_parser(): parent_parser = argparse.ArgumentParser('parent', add_help=False) group = parent_parser.add_argument_group('global options') group.add_argument("-v", "--verbose", action="store_true", dest="verbose", default=False, help="Show debugging information") + group.add_argument("-D", "--dir", dest="electrum_path", help="electrum directory") group.add_argument("-P", "--portable", action="store_true", dest="portable", default=False, help="Use local 'electrum_data' directory") group.add_argument("-w", "--wallet", dest="wallet_path", help="wallet path") # create main parser