From: Cristy Date: Mon, 30 Oct 2017 22:16:56 +0000 (-0400) Subject: https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32932 X-Git-Tag: 7.0.7-9~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2682a311eb11a131a323eb8069d1c59fd4e49f18;p=imagemagick https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32932 --- diff --git a/MagickWand/operation.c b/MagickWand/operation.c index bd3c6c696..fbb8dc0bc 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -1329,7 +1329,7 @@ WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand, } if (LocaleCompare("seed",option+1) == 0) { - if (IsGeometry(arg1) == MagickFalse) + if (IfSetOption && (IsGeometry(arg1) == MagickFalse)) CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); SetRandomSecretKey( IfSetOption ? (unsigned long) StringToUnsignedLong(arg1)