Skip to content

Commit

Permalink
always "ping" for -format option
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jul 21, 2024
1 parent b842e3a commit 4e47a94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion magick/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ static const OptionInfo
{ "+background", 0L, ImageInfoOptionFlag, MagickFalse },
{ "-background", 1L, ImageInfoOptionFlag, MagickFalse },
{ "+format", 0L, DeprecateOptionFlag, MagickFalse },
{ "-format", 1L, ListOperatorOptionFlag | ImageInfoOptionFlag, MagickFalse },
{ "-format", 1L, ImageInfoOptionFlag, MagickFalse },
{ "-quiet", 0L, GlobalOptionFlag | FireOptionFlag, MagickFalse },
{ "+quiet", 0L, GlobalOptionFlag | FireOptionFlag, MagickFalse },
{ "-regard-warnings", 0L, GenesisOptionFlag, MagickFalse },
Expand Down
1 change: 1 addition & 0 deletions wand/identify.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ WandExport MagickBooleanType IdentifyImageCommand(ImageInfo *image_info,
if (i == (ssize_t) argc)
ThrowIdentifyException(OptionError,"MissingArgument",option);
format=argv[i];
image_info->ping=MagickFalse;
break;
}
if (LocaleCompare("fuzz",option+1) == 0)
Expand Down

0 comments on commit 4e47a94

Please sign in to comment.