[GRASS-SVN] r57084 - grass-addons/grass7/raster/r.ipso

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 13 09:28:36 PDT 2013


Author: martinl
Date: 2013-07-13 09:28:36 -0700 (Sat, 13 Jul 2013)
New Revision: 57084

Modified:
   grass-addons/grass7/raster/r.ipso/r.ipso.py
Log:
r.ipso: define description
        use standardized options (cosmetics)


Modified: grass-addons/grass7/raster/r.ipso/r.ipso.py
===================================================================
--- grass-addons/grass7/raster/r.ipso/r.ipso.py	2013-07-13 16:16:17 UTC (rev 57083)
+++ grass-addons/grass7/raster/r.ipso/r.ipso.py	2013-07-13 16:28:36 UTC (rev 57084)
@@ -20,37 +20,31 @@
 #
 ################################################################################
 #%module
-#% description: 
+#% description: Outputs a ipsometric and ipsographic graph.
 #% keywords: raster
 #%end
 
-#%option
+#%option G_OPT_R_ELEV
 #% key: map
-#% type: string
-#% gisprompt: old,raster,raster
-#% key_desc: name
-#% description: Name of elevation map 
 #% required: yes
 #%end
 
-#%option
+#%option G_OPT_F_OUTPUT
 #% key: image
-#% type: string
-#% gisprompt: new_file,file,input
 #% key_desc: image
-#% description: output graph (png)
+#% description: Name for output graph file (png)
 #% required: yes
 #%end
 
 #%flag
 #% key: a
-#% description: generate ipsometric curve
+#% description: Generate ipsometric curve
 #%end
 
 #%flag
 #% key: b
-#% description: generate ipsographic curve
-#%END
+#% description: Generate ipsographic curve
+#%end
 
 import sys
 import os



More information about the grass-commit mailing list