wcs-olap: make config path optional

This commit is contained in:
Benjamin Dauvergne 2016-05-23 20:22:07 +02:00
parent 285bc85758
commit f0f22b1d28
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def main2():
locale.setlocale(locale.LC_ALL, '')
parser = argparse.ArgumentParser(description='Export W.C.S. data as a star schema in a '
'postgresql DB', add_help=False)
parser.add_argument('config_path', default=None)
parser.add_argument('config_path', nargs='?', default=None)
group = parser.add_mutually_exclusive_group()
group.add_argument("-a", "--all", help="synchronize all wcs", action='store_true',
default=False)