Improved configuration to allow multiple arguments

This commit is contained in:
Sven Heidemann 2021-04-11 15:00:54 +02:00
parent cfb6a84799
commit 79fdc0c60b

View File

@ -295,6 +295,10 @@ class Configuration(ConfigurationABC):
exit() exit()
for next_arg in next_arguments:
if next_arg not in self._handled_args and next_arg not in self._additional_arguments:
self._additional_arguments.append(next_arg)
def add_json_file(self, name: str, optional: bool = None, output: bool = True, path: str = None): def add_json_file(self, name: str, optional: bool = None, output: bool = True, path: str = None):
if os.path.isabs(name): if os.path.isabs(name):
file_path = name file_path = name