[GRASS-SVN] r44435 - grass/branches/releasebranch_6_4/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 26 12:41:46 EST 2010
Author: martinl
Date: 2010-11-26 09:41:46 -0800 (Fri, 26 Nov 2010)
New Revision: 44435
Modified:
grass/branches/releasebranch_6_4/lib/gis/parser.c
Log:
call G_usage() when level is verbose
(merge r44433 from trunk)
Modified: grass/branches/releasebranch_6_4/lib/gis/parser.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/parser.c 2010-11-26 17:37:53 UTC (rev 44434)
+++ grass/branches/releasebranch_6_4/lib/gis/parser.c 2010-11-26 17:41:46 UTC (rev 44435)
@@ -857,7 +857,7 @@
}
}
else if (argc < 2 && isatty(0)) {
- G_usage();
+ G_usage();
return -1;
}
else if (argc >= 2) {
@@ -987,7 +987,7 @@
error += check_required();
if (error) {
- if (G_verbose() > G_verbose_min())
+ if (G_verbose() > G_verbose_std())
G_usage();
return -1;
}
@@ -2430,7 +2430,7 @@
while (opt != NULL) {
if (opt->required && opt->answer == NULL) {
fprintf(stderr,
- _("\nERROR: Required parameter <%s> not set:\n (%s).\n"),
+ _("ERROR: Required parameter <%s> not set:\n\t(%s)\n"),
opt->key, (opt->label ? opt->label : opt->description) );
err++;
}
More information about the grass-commit
mailing list