diff --git a/kiwi_scp/commands/cmd_init.py b/kiwi_scp/commands/cmd_init.py index 428a011..1823206 100644 --- a/kiwi_scp/commands/cmd_init.py +++ b/kiwi_scp/commands/cmd_init.py @@ -38,9 +38,9 @@ class CMD(KiwiCommand): """Initialize or reconfigure a kiwi-scp instance""" @classmethod - def run_for_instance(cls, instance: Instance, output: Path = None, force: bool = None) -> None: - if output is not None: - instance.directory = output + def run_for_instance(cls, instance: Instance, directory: Path = None, force: bool = None) -> None: + if directory is not None: + instance.directory = directory current_config = KiwiConfig() if force else instance.config