SimpleOperatorOptionFlag = 0x0010, /* Simple Image processing operator */
ListOperatorOptionFlag = 0x0020, /* Multi-Image processing operator */
SpecialOptionFlag = 0x0040, /* Special handled Option */
- GenesisOptionFlag = 0x0080, /* Genesis Command Wrapper Option */
+ GenesisOptionFlag = 0x0080, /* MagickCommandGenesis() Only Option */
ImageRequiredFlags = 0x0030, /* Flags also means Images Required */
#endif
if ( (option_type & DeprecateOptionFlag) != 0 ) {
- CLIWandException(OptionWarning,"DeprecatedOption",option);
- if ( CLICatchException(cli_wand, MagickFalse) != MagickFalse )
- return(end);
- /* fall through - do the depreciated option */
+ if ( (cli_wand->process_flags & ProcessReportDepreciated) != 0 ) {
+ CLIWandException(OptionWarning,"DeprecatedOption",option);
+ if ( CLICatchException(cli_wand, MagickFalse) != MagickFalse )
+ return(end);
+ /* fall through - do the depreciated option */
+ }
}
if ( (option_type & GenesisOptionFlag) != 0 ) {
- goto next_argument; /* ignore genesis options */
+ goto next_argument; /* ignore MagickCommandGenesis() Only Option */
}
if (((option_type & ImageRequiredFlags) != 0 ) &&
( cli_wand->wand.images == (Image *)NULL ) ) {
ProcessExitOption = 0x0100, /* allow '-exit' use */
ProcessScriptOption = 0x0200, /* allow '-script' use */
ProcessReadOption = 0x0400, /* allow '-read' use */
+ ProcessReportDepreciated = 0x0800, /* report depreciated options */
/* Option Processing Flags */
ProcessOneOptionOnly = 0x4000, /* Process one option only */