瀏覽代碼

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 年之前
父節點
當前提交
1c9897f777
共有 1 個文件被更改,包括 2 次插入2 次删除
  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");