소스 검색

r.colors: flag l missing in option rules

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63290 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 년 전
부모
커밋
4ed7abd2d5
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      raster/r.colors/edit_colors.c

+ 3 - 3
raster/r.colors/edit_colors.c

@@ -147,10 +147,10 @@ int edit_colors(int argc, char **argv, int type, const char *maptype,
     flag.e->description = _("Histogram equalization");
     flag.e->guisection = _("Define");
 
-    G_option_exclusive(opt.maps, opt.file, NULL);
-    G_option_required(opt.maps, opt.file, NULL);
+    G_option_exclusive(opt.maps, opt.file, flag.l, NULL);
+    G_option_required(opt.maps, opt.file, flag.l, NULL);
     G_option_exclusive(opt.rast, opt.volume, NULL);
-    G_option_required(opt.rast, opt.volume, opt.colr, opt.rules, flag.r, NULL);
+    G_option_required(opt.rast, opt.volume, opt.colr, opt.rules, flag.r, flag.l, NULL);
     G_option_exclusive(opt.colr, opt.rules, opt.rast, opt.volume, NULL);
     G_option_exclusive(flag.g, flag.a, NULL);