[GRASS-SVN] r62974 - grass/branches/releasebranch_7_0/imagery/i.pca

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 01:39:46 PST 2014


Author: martinl
Date: 2014-11-26 01:39:46 -0800 (Wed, 26 Nov 2014)
New Revision: 62974

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

Modified: grass/branches/releasebranch_7_0/imagery/i.pca/main.c
===================================================================
--- grass/branches/releasebranch_7_0/imagery/i.pca/main.c	2014-11-26 09:38:41 UTC (rev 62973)
+++ grass/branches/releasebranch_7_0/imagery/i.pca/main.c	2014-11-26 09:39:46 UTC (rev 62974)
@@ -80,14 +80,10 @@
     opt_in = G_define_standard_option(G_OPT_R_INPUTS);
     opt_in->description = _("Name of two or more input raster maps or imagery group");
 
-    opt_out = G_define_option();
-    opt_out->label = _("Prefix for output raster maps");
+    opt_out = G_define_standard_option(G_OPT_R_BASENAME_OUTPUT);
+    opt_out->label = _("Name for output basename raster map(s)");
     opt_out->description =
 	_("A numerical suffix will be added for each component map");
-    opt_out->key = "output_prefix";
-    opt_out->type = TYPE_STRING;
-    opt_out->key_desc = "string";
-    opt_out->required = YES;
 
     opt_scale = G_define_option();
     opt_scale->key = "rescale";



More information about the grass-commit mailing list