[GRASS-SVN] r66736 - grass-addons/grass7/imagery/i.spec.sam
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 4 02:07:53 PST 2015
Author: ychemin
Date: 2015-11-04 02:07:53 -0800 (Wed, 04 Nov 2015)
New Revision: 66736
Modified:
grass-addons/grass7/imagery/i.spec.sam/main.c
Log:
auto find available groups for processing
Modified: grass-addons/grass7/imagery/i.spec.sam/main.c
===================================================================
--- grass-addons/grass7/imagery/i.spec.sam/main.c 2015-11-04 10:05:24 UTC (rev 66735)
+++ grass-addons/grass7/imagery/i.spec.sam/main.c 2015-11-04 10:07:53 UTC (rev 66736)
@@ -69,10 +69,7 @@
G_gisinit (argv[0]);
- parm.group = G_define_option();
- parm.group->key = "group";
- parm.group->type = TYPE_STRING;
- parm.group->required = YES;
+ parm.group = G_define_standard_option(G_OPT_I_GROUP);
parm.group->description = "Imagery group containing images to be analyzed with Spectral Mixture Analyis";
parm.matrixfile = G_define_option();
More information about the grass-commit
mailing list