Fix Invalid zoom value error message for the second argument

This commit is contained in:
DarthSim
2025-02-17 22:30:49 +03:00
parent 6b7b3e9179
commit 2145a66174

View File

@@ -410,7 +410,7 @@ func applyZoomOption(po *ProcessingOptions, args []string) error {
if z, err := strconv.ParseFloat(args[1], 64); err == nil && z > 0 {
po.ZoomHeight = z
} else {
return newOptionArgumentError("Invalid zoom value: %s", args[0])
return newOptionArgumentError("Invalid zoom value: %s", args[1])
}
}