Browse Source

d.grid: use standardized options (https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62918 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 năm trước cách đây
mục cha
commit
1c9897f777
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      display/d.grid/main.c

+ 2 - 2
display/d.grid/main.c

@@ -92,12 +92,12 @@ int main(int argc, char **argv)
     opt1->guisection = _("Color");
 
     opt4 = G_define_standard_option(G_OPT_C_FG);
-    opt4->key = "bordercolor";
+    opt4->key = "border_color";
     opt4->label = _("Border color");
     opt4->guisection = _("Color");
 
     tcolor = G_define_standard_option(G_OPT_C_FG);
-    tcolor->key = "textcolor";
+    tcolor->key = "text_color";
     tcolor->answer = "gray";
     tcolor->label = _("Text color");
     tcolor->guisection = _("Color");