fixed regression: Changed "directory" option name

This commit is contained in:
Jörn-Michael Miehe 2021-11-17 15:06:44 +01:00
parent 0f7c7f6955
commit 7f892bcff2

View file

@ -38,9 +38,9 @@ class CMD(KiwiCommand):
"""Initialize or reconfigure a kiwi-scp instance""" """Initialize or reconfigure a kiwi-scp instance"""
@classmethod @classmethod
def run_for_instance(cls, instance: Instance, output: Path = None, force: bool = None) -> None: def run_for_instance(cls, instance: Instance, directory: Path = None, force: bool = None) -> None:
if output is not None: if directory is not None:
instance.directory = output instance.directory = directory
current_config = KiwiConfig() if force else instance.config current_config = KiwiConfig() if force else instance.config