[GRASS-SVN] r62978 - grass/branches/releasebranch_7_0/imagery/i.rgb.his

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 01:44:58 PST 2014


Author: martinl
Date: 2014-11-26 01:44:58 -0800 (Wed, 26 Nov 2014)
New Revision: 62978

Modified:
   grass/branches/releasebranch_7_0/imagery/i.rgb.his/main.c
Log:
i.his.rgb: use standardized options (#2409) - (merge r62977 from trunk)

Modified: grass/branches/releasebranch_7_0/imagery/i.rgb.his/main.c
===================================================================
--- grass/branches/releasebranch_7_0/imagery/i.rgb.his/main.c	2014-11-26 09:43:20 UTC (rev 62977)
+++ grass/branches/releasebranch_7_0/imagery/i.rgb.his/main.c	2014-11-26 09:44:58 UTC (rev 62978)
@@ -54,27 +54,27 @@
 
     /* Define the different options */
     opt_red = G_define_standard_option(G_OPT_R_INPUT);
-    opt_red->key = "red_input";
+    opt_red->key = "red";
     opt_red->description = _("Name of input raster map (red)");
 
     opt_green = G_define_standard_option(G_OPT_R_INPUT);
-    opt_green->key = "green_input";
+    opt_green->key = "green";
     opt_green->description = _("Name of input raster map (green)");
 
     opt_blue = G_define_standard_option(G_OPT_R_INPUT);
-    opt_blue->key = "blue_input";
+    opt_blue->key = "blue";
     opt_blue->description = _("Name of input raster map (blue)");
 
     opt_hue = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt_hue->key = "hue_output";
+    opt_hue->key = "hue";
     opt_hue->description = _("Name for output raster map (hue)");
 
     opt_inten = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt_inten->key = "intensity_output";
+    opt_inten->key = "intensity";
     opt_inten->description = _("Name for output raster map (intensity)");
 
     opt_sat = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt_sat->key = "saturation_output";
+    opt_sat->key = "saturation";
     opt_sat->description = _("Name for output raster map (saturation)");
 
     if (G_parser(argc, argv))



More information about the grass-commit mailing list