Remove "channel" as a simple operator (setting only)
diff --git a/MagickCore/option.c b/MagickCore/option.c
index 50db725..a39c8a0 100644
--- a/MagickCore/option.c
+++ b/MagickCore/option.c
@@ -252,8 +252,8 @@
{ "-caption", 1L, ImageInfoOptionFlag, MagickFalse },
{ "+cdl", 1L, DeprecateOptionFlag, MagickTrue },
{ "-cdl", 1L, SimpleOperatorOptionFlag, MagickFalse },
- { "+channel", 0L, ImageInfoOptionFlag | SimpleOperatorOptionFlag, MagickFalse },
- { "-channel", 1L, ImageInfoOptionFlag | SimpleOperatorOptionFlag, MagickFalse },
+ { "+channel", 0L, ImageInfoOptionFlag, MagickFalse },
+ { "-channel", 1L, ImageInfoOptionFlag, MagickFalse },
{ "-channel-fx", 1L, ListOperatorOptionFlag | FireOptionFlag, MagickFalse },
{ "+charcoal", 0L, DeprecateOptionFlag, MagickTrue },
{ "-charcoal", 0L, SimpleOperatorOptionFlag, MagickFalse },
diff --git a/MagickWand/operation.c b/MagickWand/operation.c
index 6454ada..caf5a32 100644
--- a/MagickWand/operation.c
+++ b/MagickWand/operation.c
@@ -1912,15 +1912,6 @@
_exception);
break;
}
- if (LocaleCompare("channel",option+1) == 0)
- {
- /* The "channel" setting has already been set
- FUTURE: This probably should be part of SyncImageSettings().
- How is it applied to new images?
- SetPixelChannelMapMask(_image,_image_info->channel);
- */
- break;
- }
if (LocaleCompare("charcoal",option+1) == 0)
{
if (IsGeometry(arg1) == MagickFalse)