diff --git a/src/main/java/fr/moribus/imageonmap/commands/maptool/NewCommand.java b/src/main/java/fr/moribus/imageonmap/commands/maptool/NewCommand.java index f9fbb02..cbd8ddb 100644 --- a/src/main/java/fr/moribus/imageonmap/commands/maptool/NewCommand.java +++ b/src/main/java/fr/moribus/imageonmap/commands/maptool/NewCommand.java @@ -62,9 +62,9 @@ public class NewCommand extends IoMCommand { switch (args[1]) { case "resize": return ImageUtils.ScalingType.CONTAINED; - case "resize-stretched": + case "stretch": return ImageUtils.ScalingType.STRETCHED; - case "resize-covered": + case "cover": return ImageUtils.ScalingType.COVERED; default: throwInvalidArgument(I.t("Invalid Stretching mode."));