[GRASS-dev] r45050: v.info: -r/-m/-t -> shell param; GEM; parser.c

Martin Landa landa.martin at gmail.com
Wed Jan 26 18:16:43 EST 2011


Hi,

2011/1/26 Martin Landa <landa.martin at gmail.com>:
>>> $ 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


More information about the grass-dev mailing list