From 443327c585ad90ec567d1019a953c1bd222419ea Mon Sep 17 00:00:00 2001 From: Dan Saunders Date: Wed, 8 Jan 2025 16:34:19 +0000 Subject: [PATCH] CLI build_command bugfix --- src/axolotl/cli/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/axolotl/cli/utils.py b/src/axolotl/cli/utils.py index a228ee92a..c9b609049 100644 --- a/src/axolotl/cli/utils.py +++ b/src/axolotl/cli/utils.py @@ -92,6 +92,8 @@ def build_command(base_cmd: List[str], options: Dict[str, Any]) -> List[str]: if isinstance(value, bool): if value: cmd.append(f"--{key}") + else: + cmd.append(f"--no{key}") else: cmd.extend([f"--{key}", str(value)])