wcs-olap: make config path optional
This commit is contained in:
parent
285bc85758
commit
f0f22b1d28
|
@ -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)
|
||||
|
|
Reference in New Issue