Hi,

2011/1/26 Martin Landa <[email protected]>:
>>> $ r.info input=x --v
>>> Sorry, <input> is not a valid parameter
>>> ERROR: Required parameter <map> not set:
>>>         (Name of raster map)
>> [...]
>>> You need to scroll up to find out what is wrong. Extremely
>>> annoying.
>
> From my personal experience the current behaviour (printed errors and
> then usage) is not useful in the most cases. G_usage() usually didn't
> give me relevant information and I always needed to scroll up to catch
> up error messages (which parameter is missing, which typos I have
> done, etc.). In the best case the error messages should be printed
> after calling G_usage(). But it would require to store them in the
> array and print them later after G_usage() is called.

please check & review r45212.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to