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)])