[GRASS-SVN] r31464 - grass/branches/develbranch_6/imagery/i.class
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 21 09:20:00 EDT 2008
Author: neteler
Date: 2008-05-21 09:20:00 -0400 (Wed, 21 May 2008)
New Revision: 31464
Modified:
grass/branches/develbranch_6/imagery/i.class/main.c
Log:
message cosmetics for interactive mode (merge from trunk)
Modified: grass/branches/develbranch_6/imagery/i.class/main.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.class/main.c 2008-05-21 13:19:37 UTC (rev 31463)
+++ grass/branches/develbranch_6/imagery/i.class/main.c 2008-05-21 13:20:00 UTC (rev 31464)
@@ -63,9 +63,12 @@
img_grp = G_define_standard_option (G_OPT_I_GROUP);
- img_subgrp = G_define_standard_option (G_OPT_I_GROUP);
+ /* img_subgrp = G_define_standard_option (G_OPT_I_SUBGROUP); */ /* not used since gisprompt needs to be deactivated for interactive use */
+ img_subgrp = G_define_option();
img_subgrp->key = "subgroup";
- img_subgrp->gisprompt = "old,subgroup,subgroup";
+ img_subgrp->type = TYPE_STRING;
+ img_subgrp->key_desc = "name";
+ img_subgrp->required = YES;
img_subgrp->description = _("Name of input imagery subgroup");
out_sig = G_define_standard_option(G_OPT_F_OUTPUT);
More information about the grass-commit
mailing list