[GRASS-SVN] r59031 - grass/trunk/raster/r.profile
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 13 18:51:38 PST 2014
Author: wenzeslaus
Date: 2014-02-13 18:51:38 -0800 (Thu, 13 Feb 2014)
New Revision: 59031
Modified:
grass/trunk/raster/r.profile/main.c
grass/trunk/raster/r.profile/r.profile.html
Log:
r.profile: note standard input in options and remove -i flag from documentation
Modified: grass/trunk/raster/r.profile/main.c
===================================================================
--- grass/trunk/raster/r.profile/main.c 2014-02-14 00:08:41 UTC (rev 59030)
+++ grass/trunk/raster/r.profile/main.c 2014-02-14 02:51:38 UTC (rev 59031)
@@ -66,7 +66,10 @@
parm.profile->required = NO;
parm.profile->multiple = YES;
parm.profile->key_desc = "east,north";
- parm.profile->description = _("Profile coordinate pairs");
+ parm.profile->label = _("Profile coordinate pairs");
+ parm.profile->description =
+ _("If no coordinate pairs are specified, "
+ "coordinates at standard input are expected.");
parm.res = G_define_option();
parm.res->key = "res";
Modified: grass/trunk/raster/r.profile/r.profile.html
===================================================================
--- grass/trunk/raster/r.profile/r.profile.html 2014-02-14 00:08:41 UTC (rev 59030)
+++ grass/trunk/raster/r.profile/r.profile.html 2014-02-14 02:51:38 UTC (rev 59031)
@@ -9,12 +9,9 @@
<b>-i</b> flag. The profile resolution, or distance between profile
points, is obtained from the current region resolution, or can be manually
set with the <b>res</b> argument.
-<p>The <b>-i</b> flag allows the user for selecting the profile from the GRASS
-monitor by clicking the left mouse button along the profile; clicking the
-right mouse button ends the profile.
<p>The <b>profile</b> parameter can be set to comma separated geographic
-coordinates for profile line endpoints. The interactive flag (<b>-i</b>)
-overrides this option. Alternatively the coordinate pairs can be piped
+coordinates for profile line endpoints.
+Alternatively the coordinate pairs can be piped
from stdin, one comma separated pair per line.
<p>The <b>res</b> parameter sets the distance between each profile point
(resolution). The resolution must be provided in GRASS database units (i.e.
More information about the grass-commit
mailing list