[GRASS-SVN] r48242 - grass/trunk/vector/v.kernel

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 11 17:25:24 EDT 2011


Author: neteler
Date: 2011-09-11 14:25:24 -0700 (Sun, 11 Sep 2011)
New Revision: 48242

Modified:
   grass/trunk/vector/v.kernel/main.c
Log:
since default is defined, required = NO

Modified: grass/trunk/vector/v.kernel/main.c
===================================================================
--- grass/trunk/vector/v.kernel/main.c	2011-09-11 21:25:10 UTC (rev 48241)
+++ grass/trunk/vector/v.kernel/main.c	2011-09-11 21:25:24 UTC (rev 48242)
@@ -161,7 +161,7 @@
     node_opt = G_define_option();
     node_opt->key = "node";
     node_opt->type = TYPE_STRING;
-    node_opt->required = YES;
+    node_opt->required = NO;
     node_opt->description = _("Node method");
     node_opt->options = "none,split";
     node_opt->answer = "none";
@@ -172,7 +172,7 @@
     kernel_opt = G_define_option();
     kernel_opt->key = "kernel";
     kernel_opt->type = TYPE_STRING;
-    kernel_opt->required = YES;
+    kernel_opt->required = NO;
     kernel_opt->description = _("Kernel function");
     kernel_opt->options =
 	"uniform,triangular,epanechnikov,quartic,triweight,gaussian,cosine";



More information about the grass-commit mailing list