[GRASS-SVN] r62962 - grass/trunk/imagery/i.his.rgb

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 01:19:35 PST 2014


Author: martinl
Date: 2014-11-26 01:19:35 -0800 (Wed, 26 Nov 2014)
New Revision: 62962

Modified:
   grass/trunk/imagery/i.his.rgb/main.c
Log:
i.his.rgb: use standardized options (#2409)

Modified: grass/trunk/imagery/i.his.rgb/main.c
===================================================================
--- grass/trunk/imagery/i.his.rgb/main.c	2014-11-26 09:17:04 UTC (rev 62961)
+++ grass/trunk/imagery/i.his.rgb/main.c	2014-11-26 09:19:35 UTC (rev 62962)
@@ -54,27 +54,27 @@
 
     /* Define the different options */
     opt_hue = G_define_standard_option(G_OPT_R_INPUT);
-    opt_hue->key = "hue_input";
+    opt_hue->key = "hue";
     opt_hue->description = _("Name of input raster map (hue)");
 
     opt_int = G_define_standard_option(G_OPT_R_INPUT);
-    opt_int->key = "intensity_input";
+    opt_int->key = "intensity";
     opt_int->description = _("Name of input raster map (intensity)");
 
     opt_sat = G_define_standard_option(G_OPT_R_INPUT);
-    opt_sat->key = "saturation_input";
+    opt_sat->key = "saturation";
     opt_sat->description = _("Name of input raster map (saturation)");
 
     opt_red = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt_red->key = "red_output";
+    opt_red->key = "red";
     opt_red->description = _("Name for output raster map (red)");
 
     opt_green = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt_green->key = "green_output";
+    opt_green->key = "green";
     opt_green->description = _("Name for output raster map (green)");
 
     opt_blue = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt_blue->key = "blue_output";
+    opt_blue->key = "blue";
     opt_blue->description = _("Name for output raster map (blue)");
 
     if (G_parser(argc, argv))



More information about the grass-commit mailing list