add option to configure electrum_path

This commit is contained in:
ThomasV 2016-05-30 08:58:10 +02:00
parent fbb8b2ac6c
commit 0e61408dfa
1 changed files with 1 additions and 0 deletions

View File

@ -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