[GRASS-SVN] r74118 - in grass/trunk: include lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 21 01:38:28 PST 2019


Author: neteler
Date: 2019-02-21 01:38:28 -0800 (Thu, 21 Feb 2019)
New Revision: 74118

Modified:
   grass/trunk/include/gis.h
   grass/trunk/lib/gis/parser_standard_options.c
Log:
parser: G_OPT_STRDS_OUTPUTS added (trac #3742)

Modified: grass/trunk/include/gis.h
===================================================================
--- grass/trunk/include/gis.h	2019-02-21 09:18:20 UTC (rev 74117)
+++ grass/trunk/include/gis.h	2019-02-21 09:38:28 UTC (rev 74118)
@@ -298,6 +298,7 @@
     G_OPT_STRDS_INPUT,          /*!< old input space time raster dataset */
     G_OPT_STRDS_INPUTS,         /*!< old input space time raster datasets */
     G_OPT_STRDS_OUTPUT,         /*!< new output space time raster dataset */
+    G_OPT_STRDS_OUTPUTS,        /*!< new output space time raster datasets */
     G_OPT_STR3DS_INPUT,         /*!< old input space time raster3d dataset */
     G_OPT_STR3DS_INPUTS,        /*!< old input space time raster3d datasets */
     G_OPT_STR3DS_OUTPUT,        /*!< new output space time raster3d dataset */

Modified: grass/trunk/lib/gis/parser_standard_options.c
===================================================================
--- grass/trunk/lib/gis/parser_standard_options.c	2019-02-21 09:18:20 UTC (rev 74117)
+++ grass/trunk/lib/gis/parser_standard_options.c	2019-02-21 09:38:28 UTC (rev 74118)
@@ -786,6 +786,15 @@
 	Opt->gisprompt = "new,strds,strds";
 	Opt->description = _("Name of the output space time raster dataset");
 	break;
+    case G_OPT_STRDS_OUTPUTS:
+	Opt->key = "outputs";
+	Opt->type = TYPE_STRING;
+	Opt->key_desc = "name";
+	Opt->required = YES;
+	Opt->multiple = YES;
+	Opt->gisprompt = "new,strds,strds";
+	Opt->description = _("Name of the output space time raster datasets");
+	break;
     case G_OPT_STVDS_INPUT:
 	Opt->key = "input";
 	Opt->type = TYPE_STRING;



More information about the grass-commit mailing list