From 7f892bcff2335dbc2ef2fdb6f1d644ec5d8c8ef0 Mon Sep 17 00:00:00 2001 From: ldericher <40151420+ldericher@users.noreply.github.com> Date: Wed, 17 Nov 2021 15:06:44 +0100 Subject: [PATCH] fixed regression: Changed "directory" option name --- kiwi_scp/commands/cmd_init.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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