Browse Source

i.his.rgb: use standardized options (https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62977 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 năm trước cách đây
mục cha
commit
f62bf7d1cf
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 6 6
      imagery/i.rgb.his/main.c

+ 6 - 6
imagery/i.rgb.his/main.c

@@ -54,27 +54,27 @@ int main(int argc, char **argv)
 
     /* 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))