commit 0e61408dfadbacc32edda620cd65143fc87fec68
parent fbb8b2ac6c2cede5d166f9cbbaee062c567623cb
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 30 May 2016 08:58:10 +0200
add option to configure electrum_path
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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