Please, as we have asked before, let us know whenever you are planning to make any changes to
rst programs - we have just been discussing removing -r and -c flags,
they should not be there, they are leftovers from the times when
GRASS was integer only and there were no NULLs.
If anybody has a special need for these flags let us know (note that
s.surf.rst in 5.4 does not have them).
We are still working on the rst programs - I just cannot make all the changes at once
as these various issues pop-up during the testing.
thank you,
Helena
grass@intevation.de wrote:
Author: markus
Update of /grassrepository/grass51/vector/v.surf.rst
In directory doto:/tmp/cvs-serv20965Modified Files:
main.c Log Message:
fix -r flag description ; reduce number of white linesIndex: main.c
RCS file: /grassrepository/grass51/vector/v.surf.rst/main.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- main.c 17 Dec 2004 19:10:27 -0000 1.20
+++ main.c 27 Jan 2005 17:51:48 -0000 1.21
@@ -183,8 +183,6 @@
fprintf(stdout, "Authors: original version - H.Mitasova, L.Mitas, I. Kosinovsky, D.P. Gerdes\n");
fprintf(stdout,
"See manual pages for reference and publications\n");
- fprintf(stdout, "\n");
parm.input = G_define_option();
parm.input->key = "input";
@@ -219,7 +217,7 @@
flag.iselev = G_define_flag();
flag.iselev->key = 'r';
- flag.iselev->description = "Do zero attributes/cats represent elevation?";
+ flag.iselev->description = "Use also zero attributes/cats as elevation";
parm.dmax = G_define_option();
parm.dmax->key = "dmax";
@@ -494,17 +492,17 @@
G_fatal_error("cannot create tree info");
if ((mapset = G_find_vector2(input, "")) == NULL)
- G_fatal_error("Could not find vector file %s\n", input);
+ G_fatal_error("Could not find vector file %s", input);
open_check = Vect_open_old(&Map, input, mapset);
if (open_check < 1)
- G_fatal_error("Could not open vector file <%s>\n", input);
+ G_fatal_error("Could not open vector file <%s>", input);
if (open_check < 2)
- G_fatal_error("You first need to run v.build on vector file <%s>\n",
+ G_fatal_error("You first need to run v.build on vector file <%s>",
input);
if (flag.cat->answer) {
if (G_read_vector_cats(input, mapset, &cats) < 0)
- G_fatal_error("Could not find category file for %s\n", input);
+ G_fatal_error("Could not find category file for %s", input);
}
/* we can't read the input file's timestamp as they don't exist in */
@@ -679,10 +677,9 @@
ddisk += disk;
ddisk += sddisk;
fprintf(stderr, "\n");
- fprintf(stderr, "Processing all selected output files \n");
- fprintf(stderr, "will require %d bytes of disk space for temp files \n",
+ fprintf(stderr, "Processing all selected output files\n");
+ fprintf(stderr, "will require %d bytes of disk space for temp files\n",
ddisk);
- fprintf(stderr, "\n");
deltx = xmax - xmin;
delty = ymax - ymin;_______________________________________________
grass-commit mailing list
grass-commit@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-commit