[GRASS-SVN] r49726 - grass/branches/develbranch_6/gui/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 13 16:24:27 EST 2011
Author: martinl
Date: 2011-12-13 13:24:27 -0800 (Tue, 13 Dec 2011)
New Revision: 49726
Modified:
grass/branches/develbranch_6/gui/scripts/g.extension.py
Log:
g.extension.py: more guisections
Modified: grass/branches/develbranch_6/gui/scripts/g.extension.py
===================================================================
--- grass/branches/develbranch_6/gui/scripts/g.extension.py 2011-12-13 21:21:59 UTC (rev 49725)
+++ grass/branches/develbranch_6/gui/scripts/g.extension.py 2011-12-13 21:24:27 UTC (rev 49726)
@@ -28,6 +28,7 @@
#% type: string
#% key_desc: name
#% description: Name of extension to install/remove
+#% guisection: Required
#%end
#%option
#% key: operation
@@ -42,7 +43,6 @@
#% type: string
#% key_desc: url
#% description: SVN Addons repository URL
-#% required: yes
#% answer: http://svn.osgeo.org/grass/grass-addons/grass6
#%end
#%option
@@ -77,18 +77,22 @@
#%flag
#% key: s
#% description: Install system-wide (may need system administrator rights)
+#% guisection: Install
#%end
#%flag
#% key: d
#% description: Download source code and exit
+#% guisection: Install
#%end
#%flag
#% key: i
#% description: Don't install new extension, just compile it
+#% guisection: Install
#%end
#%flag
#% key: f
#% description: Force removal when uninstalling extension (operation=remove)
+#% guisection: Remove
#%end
import os
More information about the grass-commit
mailing list