++confdir
This commit is contained in:
parent
82a69701ce
commit
ec66a756a0
1 changed files with 5 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue