git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70520 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -329,6 +329,8 @@ int main(int argc, char **argv)
legend_flag->label = _("Do not show this layer in vector legend");
legend_flag->guisection = _("Legend");
+ G_option_exclusive(zcol_opt, rgbcol_opt, cats_acolors_flag, NULL);
+
/* Check command line */
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
@@ -183,8 +183,7 @@ int display_shape(struct Map_info *Map, int type, struct cat_list *Clist, const
z_style = NULL;
}
else if (rgb_column) {
- G_warning(_("%s= and %s= are mutually exclusive. "
- "%s= will be ignored."), "zcolor", "rgb_column", "zcolor");
+ /* this should not happend, zcolor and rgb_columns are mutually exclusive */
else {