[GRASS-SVN] r66438 - grass-addons/grass7/imagery/i.spec.sam

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 8 07:22:44 PDT 2015


Author: lucadelu
Date: 2015-10-08 07:22:44 -0700 (Thu, 08 Oct 2015)
New Revision: 66438

Modified:
   grass-addons/grass7/imagery/i.spec.sam/main.c
Log:
i.spec.sam: standardize parameter name

Modified: grass-addons/grass7/imagery/i.spec.sam/main.c
===================================================================
--- grass-addons/grass7/imagery/i.spec.sam/main.c	2015-10-08 14:07:12 UTC (rev 66437)
+++ grass-addons/grass7/imagery/i.spec.sam/main.c	2015-10-08 14:22:44 UTC (rev 66438)
@@ -79,16 +79,16 @@
     parm.matrixfile->required = YES;
     parm.matrixfile->description = "Matrix file containing spectral signatures ";
 
-    parm.result = G_define_option();
-    parm.result->key = "result";
-    parm.result->type = TYPE_STRING;
-    parm.result->required = YES;
-    parm.result->description = "Raster map prefix to hold spectral angles";
+    parm.output = G_define_option();
+    parm.output->key = "result";
+    parm.output->type = TYPE_STRING;
+    parm.output->required = YES;
+    parm.output->description = "Raster map prefix to hold spectral angles";
 
     if (G_parser(argc,argv))
 	G_fatal_error("Parsing arguments error");
 
-    result_prefix = parm.result->answer;
+    result_prefix = parm.output->answer;
     group       = parm.group->answer;
     matrixfile  = parm.matrixfile->answer;
 



More information about the grass-commit mailing list