++confdir

This commit is contained in:
Nico Schottelius 2020-01-10 11:56:47 +01:00
parent 82a69701ce
commit ec66a756a0

View file

@ -38,8 +38,12 @@ if __name__ == '__main__':
subparsers = arg_parser.add_subparsers(dest='command') subparsers = arg_parser.add_subparsers(dest='command')
parent_parser = argparse.ArgumentParser(add_help=False) parent_parser = argparse.ArgumentParser(add_help=False)
parent_parser.add_argument('--debug', '-d', action='store_true', default=False, parent_parser.add_argument('--debug', '-d',
action='store_true',
default=False,
help='More verbose logging') help='More verbose logging')
parent_parser.add_argument('--conf-dir', '-c',
help='Configuration directory')
etcd_parser = argparse.ArgumentParser(add_help=False) etcd_parser = argparse.ArgumentParser(add_help=False)
etcd_parser.add_argument('--etcd-host') etcd_parser.add_argument('--etcd-host')