Browse Source

libgis: report none color also for G_OPT_C_FG

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

+ 2 - 1
lib/gis/parser_standard_options.c

@@ -588,7 +588,8 @@ struct Option *G_define_standard_option(int opt)
 	Opt->answer = DEFAULT_FG_COLOR;
 	Opt->gisprompt = "old,color,color";
 	Opt->label = _("Color");
-	Opt->description = _("Either a standard color name or R:G:B triplet");
+	Opt->description =
+	    _("Either a standard color name, R:G:B triplet, or \"none\"");
 	break;
     case G_OPT_C_BG:
 	Opt->key = "bgcolor";