[GRASS-SVN] r47190 - grass/trunk/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 20 17:18:13 EDT 2011


Author: martinl
Date: 2011-07-20 14:18:13 -0700 (Wed, 20 Jul 2011)
New Revision: 47190

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: more guisections


Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2011-07-20 16:10:33 UTC (rev 47189)
+++ grass/trunk/scripts/g.extension/g.extension.py	2011-07-20 21:18:13 UTC (rev 47190)
@@ -30,13 +30,13 @@
 #% type: string
 #% key_desc: name
 #% description: Name of extension to install/remove
-#% required: no
+#% required: yes
 #%end
 #%option
 #% key: operation
 #% type: string
 #% description: Operation to be performed
-#% required: no
+#% required: yes
 #% options: add,remove
 #% answer: add
 #%end
@@ -54,23 +54,26 @@
 #% key_desc: path
 #% description: Prefix where to install extension (ignored when flag -s is given)
 #% answer: $GRASS_ADDON_PATH
-#% required: yes
+#% required: no
 #%end
 
 #%flag
 #% key: l
 #% description: List available modules in the GRASS Addons SVN repository
 #% guisection: Print
+#% suppress_required: yes
 #%end
 #%flag
 #% key: f
 #% description: List available modules in the GRASS Addons SVN repository including modules description
 #% guisection: Print
+#% suppress_required: yes
 #%end
 #%flag
 #% key: g
 #% description: List available modules in the GRASS Addons SVN repository (shell script style)
 #% guisection: Print
+#% suppress_required: yes
 #%end
 #%flag
 #% key: s



More information about the grass-commit mailing list