mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-21 20:33:00 +00:00
fixed regression: Changed "directory" option name
This commit is contained in:
parent
0f7c7f6955
commit
7f892bcff2
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue