This commit is contained in:
Denis Manherz 2023-11-27 14:32:20 +01:00
parent 0f7734670b
commit bd93aa6e0e

View file

@ -83,7 +83,7 @@ in
cliArgs = (flatten (mapAttrsToList (n: v: cliArgs = (flatten (mapAttrsToList (n: v:
if v == null then [] if v == null then []
else if isBool v then [ "${optionalString v }--${n}" ] else if isBool v then [ "${optionalString v "--"n}" ]
else if isInt v then [ "--${n}" "${toString v}" ] else if isInt v then [ "--${n}" "${toString v}" ]
else if isFloat v then [ "--${n}" "${floatToString v}" ] else if isFloat v then [ "--${n}" "${floatToString v}" ]
else if isString v then ["--${n}" v ] else if isString v then ["--${n}" v ]