[GRASS-SVN] r63362 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 3 10:17:00 PST 2014


Author: martinl
Date: 2014-12-03 10:16:59 -0800 (Wed, 03 Dec 2014)
New Revision: 63362

Modified:
   grass/trunk/lib/gis/parser.c
Log:
libgis: clarify warning about renamed option

Modified: grass/trunk/lib/gis/parser.c
===================================================================
--- grass/trunk/lib/gis/parser.c	2014-12-03 17:47:43 UTC (rev 63361)
+++ grass/trunk/lib/gis/parser.c	2014-12-03 18:16:59 UTC (rev 63362)
@@ -994,9 +994,9 @@
         if (renamed_key) {
             for (at_opt = &st->first_option; at_opt; at_opt = at_opt->next_opt) {
                 if (strcmp(renamed_key, at_opt->key) == 0) {
-                    G_warning(_("Please update the interface of the module: "
+                    G_warning(_("Please update the user interface of <%s>: "
                                 "option <%s> has been renamed to <%s>"),
-                              the_key, renamed_key);
+                              G_program_name(), the_key, renamed_key);
                     opt = at_opt;
                     found = 1;
                     break; 



More information about the grass-commit mailing list